#2E377E#2E377E

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

Color values

HEX#2E377E
RGBrgb(46, 55, 126)
HSLhsl(233, 47%, 34%)
HSVhsv(233, 63%, 49%)
CMYKcmyk(63.5%, 56.3%, 0%, 50.6%)
CIE-LABlab(26.21, 19.94, -41.54)
CIE-LCHlch(26.21, 46.08, 295.65°)
OKLaboklab(37.16% 0.0076 -0.1192)
OKLCHoklch(37.16% 0.119 273.7)
XYZxyz(6.2576, 4.8191, 20.3350)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E377E #7E752E
analogous
#2E5F7E #2E377E #4D2E7E
triadic
#2E377E #7E2E37 #377E2E
tetradic
#2E377E #7E2E5F #7E752E #2E7E4D
square
#2E377E #7E2E5F #7E752E #2E7E4D
split-complementary
#2E377E #7E4D2E #5F7E2E
monochromatic
#0D1024 #1E2351 #2E377E #3E4BAB #616CC5

Accessibility & contrast

On white

10.69
#2E377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E377E
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E377E#FFFFFF#000000##FFFFFF
##2E377E1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e377e;
/* rgb */ color: rgb(46, 55, 126);
/* oklch */ color: oklch(37.2% 0.119 273.7);
Tailwind
colors: {
  custom: {
    50: '#706da4',
    500: '#2e377e',
    950: '#000000',
  },
}
SCSS
$custom: #2e377e;
$custom-light: #706da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e377e",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 233.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.11943,
    "h": 273.7
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E377E

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

Preview Lab → · Contrast checker → · Palette generator →

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