#2942A9#2942A9

#2942A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.168 H 268.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2942A9
RGBrgb(41, 66, 169)
HSLhsl(228, 61%, 41%)
HSVhsv(228, 76%, 66%)
CMYKcmyk(75.7%, 60.9%, 0%, 33.7%)
CIE-LABlab(32.33, 27.90, -57.98)
CIE-LCHlch(32.33, 64.34, 295.70°)
OKLaboklab(42.73% -0.006 -0.1675)
OKLCHoklch(42.73% 0.168 268)
XYZxyz(10.0216, 7.2313, 38.3960)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2942A9 #A99029
analogous
#2982A9 #2942A9 #5029A9
triadic
#2942A9 #A92942 #42A929
tetradic
#2942A9 #A92982 #A99029 #29A950
square
#2942A9 #A92982 #A99029 #29A950
split-complementary
#2942A9 #A95029 #82A929
monochromatic
#111C46 #1D2F78 #2942A9 #3F5BD0 #7085DC

Accessibility & contrast

On white

8.58
#2942A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2942A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2942A9
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2942A9#FFFFFF#000000##FFFFFF
##2942A91.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2942a9;
/* rgb */ color: rgb(41, 66, 169);
/* oklch */ color: oklch(42.7% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#7676c3',
    500: '#2942a9',
    950: '#000000',
  },
}
SCSS
$custom: #2942a9;
$custom-light: #7676c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2942a9",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 228.281,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.16758,
    "h": 268
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#2942A9
secondary
#C3B26A
accent
#C544E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2942A9

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2942A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva