#2937A9#2937A9

#2937A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.181 H 270.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2937A9
RGBrgb(41, 55, 169)
HSLhsl(233, 61%, 41%)
HSVhsv(233, 76%, 66%)
CMYKcmyk(75.7%, 67.5%, 0%, 33.7%)
CIE-LABlab(29.58, 35.07, -62.47)
CIE-LCHlch(29.58, 71.64, 299.31°)
OKLaboklab(40.71% 0.001 -0.1807)
OKLCHoklch(40.71% 0.181 270.3)
XYZxyz(9.4396, 6.0674, 38.2020)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A9 #A99B29
analogous
#2977A9 #2937A9 #5B29A9
triadic
#2937A9 #A92937 #37A929
tetradic
#2937A9 #A92977 #A99B29 #29A95B
square
#2937A9 #A92977 #A99B29 #29A95B
split-complementary
#2937A9 #A95B29 #77A929
monochromatic
#111746 #1D2778 #2937A9 #3F4FD0 #707CDC

Accessibility & contrast

On white

9.49
#2937A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2937A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A9
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A9#FFFFFF#000000##FFFFFF
##2937A91.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2937a9;
/* rgb */ color: rgb(41, 55, 169);
/* oklch */ color: oklch(40.7% 0.181 270.3);
Tailwind
colors: {
  custom: {
    50: '#776ec4',
    500: '#2937a9',
    950: '#000000',
  },
}
SCSS
$custom: #2937a9;
$custom-light: #776ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a9",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 233.438,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.18074,
    "h": 270.3
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#2937A9
secondary
#C3BA6A
accent
#D344E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2937A9

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

Preview Lab → · Contrast checker → · Palette generator →

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