#2E387B#2E387B

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

Color values

HEX#2E387B
RGBrgb(46, 56, 123)
HSLhsl(232, 46%, 33%)
HSVhsv(232, 63%, 48%)
CMYKcmyk(62.6%, 54.5%, 0%, 51.8%)
CIE-LABlab(26.27, 18.15, -39.56)
CIE-LCHlch(26.27, 43.52, 294.64°)
OKLaboklab(37.14% 0.0064 -0.1133)
OKLCHoklch(37.14% 0.114 273.2)
XYZxyz(6.1149, 4.8388, 19.3468)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E387B #7B712E
analogous
#2E5E7B #2E387B #4A2E7B
triadic
#2E387B #7B2E38 #387B2E
tetradic
#2E387B #7B2E5E #7B712E #2E7B4A
square
#2E387B #7B2E5E #7B712E #2E7B4A
split-complementary
#2E387B #7B4A2E #5E7B2E
monochromatic
#0D0F22 #1D244E #2E387B #3F4CA8 #606DC3

Accessibility & contrast

On white

10.67
#2E387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E387B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E387B#FFFFFF#000000##FFFFFF
##2E387B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e387b;
/* rgb */ color: rgb(46, 56, 123);
/* oklch */ color: oklch(37.1% 0.114 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ea2',
    500: '#2e387b',
    950: '#000000',
  },
}
SCSS
$custom: #2e387b;
$custom-light: #6f6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e387b",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 232.208,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37136,
    "c": 0.11353,
    "h": 273.2
  },
  "luminance": 0.04839
}

Semantic roles & 50–950 ramp

primary
#2E387B
secondary
#AAA05B
accent
#C453D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E387B

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

Preview Lab → · Contrast checker → · Palette generator →

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