#2E377F#2E377F

#2E377F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.121 H 273.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E377F
RGBrgb(46, 55, 127)
HSLhsl(233, 47%, 34%)
HSVhsv(233, 64%, 50%)
CMYKcmyk(63.8%, 56.7%, 0%, 50.2%)
CIE-LABlab(26.29, 20.31, -42.05)
CIE-LCHlch(26.29, 46.70, 295.78°)
OKLaboklab(37.24% 0.0077 -0.1207)
OKLCHoklch(37.24% 0.121 273.6)
XYZxyz(6.3224, 4.8450, 20.6766)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E377F #7F762E
analogous
#2E607F #2E377F #4E2E7F
triadic
#2E377F #7F2E37 #377F2E
tetradic
#2E377F #7F2E60 #7F762E #2E7F4E
square
#2E377F #7F2E60 #7F762E #2E7F4E
split-complementary
#2E377F #7F4E2E #607F2E
monochromatic
#0D1025 #1E2452 #2E377F #3E4AAC #616DC6

Accessibility & contrast

On white

10.66
#2E377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E377F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E377F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E377F#FFFFFF#000000##FFFFFF
##2E377F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034281
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e377f;
/* rgb */ color: rgb(46, 55, 127);
/* oklch */ color: oklch(37.2% 0.121 273.6);
Tailwind
colors: {
  custom: {
    50: '#706da5',
    500: '#2e377f',
    950: '#000000',
  },
}
SCSS
$custom: #2e377f;
$custom-light: #706da5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e377f",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 233.333,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37245,
    "c": 0.12092,
    "h": 273.6
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#2E377F
secondary
#ADA45C
accent
#C851D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E377F

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

Preview Lab → · Contrast checker → · Palette generator →

#2E377F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva