#2E377B#2E377B

#2E377B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.9% C 0.115 H 273.7°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2E377B
RGBrgb(46, 55, 123)
HSLhsl(233, 46%, 33%)
HSVhsv(233, 63%, 48%)
CMYKcmyk(62.6%, 55.3%, 0%, 51.8%)
CIE-LABlab(25.99, 18.84, -40.01)
CIE-LCHlch(25.99, 44.22, 295.21°)
OKLaboklab(36.93% 0.0074 -0.1147)
OKLCHoklch(36.93% 0.115 273.7)
XYZxyz(6.0669, 4.7428, 19.3308)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E377B #7B722E
analogous
#2E5D7B #2E377B #4B2E7B
triadic
#2E377B #7B2E37 #377B2E
tetradic
#2E377B #7B2E5D #7B722E #2E7B4B
square
#2E377B #7B2E5D #7B722E #2E7B4B
split-complementary
#2E377B #7B4B2E #5D7B2E
monochromatic
#0D0F22 #1D234E #2E377B #3F4BA8 #606CC3

Accessibility & contrast

On white

10.78
#2E377B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E377B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E377B
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E377B#FFFFFF#000000##FFFFFF
##2E377B1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e377b;
/* rgb */ color: rgb(46, 55, 123);
/* oklch */ color: oklch(36.9% 0.115 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f6da2',
    500: '#2e377b',
    950: '#000000',
  },
}
SCSS
$custom: #2e377b;
$custom-light: #6f6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e377b",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 232.987,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36925,
    "c": 0.11493,
    "h": 273.7
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#2E377B
secondary
#AAA15B
accent
#C653D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E377B

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

Preview Lab → · Contrast checker → · Palette generator →

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