Skip to content

#342ABB Color

#342ABB is rgb(52, 42, 187) in RGB, hsl(244, 63%, 45%) in HSL, and about cmyk(72%, 78%, 0%, 27%) in CMYK. It has no registered color name of its own — the closest is Iridescent Indigo (#3C32CD), clearly related but distinguishable side by side at ΔE 5.91. White text is the more readable choice on this background.

#342ABB
HEX#342ABB
RGBrgb(52, 42, 187)
HSLhsl(244, 63%, 45%)
HSVhsv(244, 78%, 73%)
CMYKcmyk(72%, 78%, 0%, 27%)
OKLCHoklch(41.3% 0.214 274.7)
LABlab(27.94% 41.51 -75.59)
LCHlch(27.94% 86.24 298.77)

What #342ABB Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #342ABB, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#342ABB Channel Values

How #342ABB breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 52 · G 42 · B 1878-bit channels as sent to the display
HSLH 244° · S 63% · L 45%Easiest model for building lighter and darker variants
HSVH 244° · S 78% · V 73%Matches the picker in most design tools
CMYKC 72% · M 78% · Y 0% · K 27%Approximate ink mix; confirm with an ICC profile before printing
Luminance9.57:1 vs white · 2.19:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #342ABB background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text9.57:1AA normal AA large AAA normal
Fails AABlack text2.19:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #342ABB in the contrast checker.

Colors That Go With #342ABB

Pairings derived from color-wheel relationships. The complementary color sits opposite #342ABB; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #342ABB

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #342ABB.

How #342ABB Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#342ABB
Protanopia#2C2CBB
Protanomaly#2F2BBB
Deuteranopia#2E2EBB
Deuteranomaly#302CBB
Tritanopia#005151
Tritanomaly#004589
Achromatopsia#454545

Test a full palette in the color blindness simulator.

Using #342ABB in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-342abb: #342ABB;
CSS backgroundbackground-color: #342ABB;
Tailwind configcolors: { 'color-342abb': '#342ABB' }
SwiftUIColor(red: 0.204, green: 0.165, blue: 0.733)
Android XML<color name="color_342abb">#342ABB</color>
SVG fillfill="#342ABB"

More Blue Colors

#342ABB sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#342ABB Frequently Asked Questions

What color is #342ABB?

#342ABB is a mid-tone blue — rgb(52, 42, 187) in RGB and hsl(244, 63%, 45%) in HSL. It carries no registered color name of its own; the closest named color is Iridescent Indigo (#3C32CD), which is clearly related but distinguishable side by side at a CIE76 distance of 5.91.

What is the RGB value of #342ABB?

#342ABB is rgb(52, 42, 187) — red 52, green 42, and blue 187 on the 0-255 scale.

What is the CMYK value of #342ABB?

#342ABB converts to approximately cmyk(72%, 78%, 0%, 27%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #342ABB be black or white?

White text is the more readable choice. #342ABB scores 9.57:1 against white and 2.19:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #342ABB as a CSS color keyword?

No. #342ABB is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkblue (#00008B) at a CIE76 distance of 15.65, which is visibly different.

Open #342ABB in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.