#2E377D#2E377D

#2E377D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.118 H 273.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2E377D
RGBrgb(46, 55, 125)
HSLhsl(233, 46%, 34%)
HSVhsv(233, 63%, 49%)
CMYKcmyk(63.2%, 56%, 0%, 51%)
CIE-LABlab(26.14, 19.57, -41.03)
CIE-LCHlch(26.14, 45.46, 295.50°)
OKLaboklab(37.08% 0.0076 -0.1177)
OKLCHoklch(37.08% 0.118 273.7)
XYZxyz(6.1934, 4.7934, 19.9969)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E377D #7D742E
analogous
#2E5E7D #2E377D #4C2E7D
triadic
#2E377D #7D2E37 #377D2E
tetradic
#2E377D #7D2E5E #7D742E #2E7D4C
square
#2E377D #7D2E5E #7D742E #2E7D4C
split-complementary
#2E377D #7D4C2E #5E7D2E
monochromatic
#0D1024 #1E2350 #2E377D #3E4BAA #616CC5

Accessibility & contrast

On white

10.72
#2E377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E377D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E377D#FFFFFF#000000##FFFFFF
##2E377D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e377d;
/* rgb */ color: rgb(46, 55, 125);
/* oklch */ color: oklch(37.1% 0.118 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f6da3',
    500: '#2e377d',
    950: '#000000',
  },
}
SCSS
$custom: #2e377d;
$custom-light: #6f6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e377d",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 233.165,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37084,
    "c": 0.11794,
    "h": 273.7
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#2E377D
secondary
#ABA25B
accent
#C752D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E377D

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

Preview Lab → · Contrast checker → · Palette generator →

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