#2937A6#2937A6

#2937A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.177 H 270.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2937A6
RGBrgb(41, 55, 166)
HSLhsl(233, 60%, 41%)
HSVhsv(233, 75%, 65%)
CMYKcmyk(75.3%, 66.9%, 0%, 34.9%)
CIE-LABlab(29.30, 33.99, -61.13)
CIE-LCHlch(29.30, 69.94, 299.07°)
OKLaboklab(40.42% 0.0013 -0.1768)
OKLCHoklch(40.42% 0.177 270.4)
XYZxyz(9.1612, 5.9560, 36.7358)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2937A6 #A69829
analogous
#2975A6 #2937A6 #5929A6
triadic
#2937A6 #A62937 #37A629
tetradic
#2937A6 #A62975 #A69829 #29A659
square
#2937A6 #A62975 #A69829 #29A659
split-complementary
#2937A6 #A65929 #75A629
monochromatic
#111644 #1D2775 #2937A6 #3D4DCF #6E7ADB

Accessibility & contrast

On white

9.58
#2937A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2937A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2937A6
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2937A6#FFFFFF#000000##FFFFFF
##2937A61.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2937a6;
/* rgb */ color: rgb(41, 55, 166);
/* oklch */ color: oklch(40.4% 0.177 270.4);
Tailwind
colors: {
  custom: {
    50: '#766ec1',
    500: '#2937a6',
    950: '#000000',
  },
}
SCSS
$custom: #2937a6;
$custom-light: #766ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2937a6",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 233.28,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.1768,
    "h": 270.4
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#2937A6
secondary
#C2B869
accent
#D244E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2937A6

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

Preview Lab → · Contrast checker → · Palette generator →

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