#2E375A#2E375A

#2E375A is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.6% C 0.063 H 271.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2E375A
RGBrgb(46, 55, 90)
HSLhsl(228, 32%, 27%)
HSVhsv(228, 49%, 35%)
CMYKcmyk(48.9%, 38.9%, 0%, 64.7%)
CIE-LABlab(23.84, 6.96, -22.22)
CIE-LCHlch(23.84, 23.28, 287.39°)
OKLaboklab(34.6% 0.002 -0.0625)
OKLCHoklch(34.6% 0.063 271.9)
XYZxyz(4.3378, 4.0512, 10.2243)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E375A #5A512E
analogous
#2E4D5A #2E375A #3B2E5A
triadic
#2E375A #5A2E37 #375A2E
tetradic
#2E375A #5A2E4D #5A512E #2E5A3B
square
#2E375A #5A2E4D #5A512E #2E5A3B
split-complementary
#2E375A #5A3B2E #4D5A2E
monochromatic
#0A0C14 #191E32 #2E375A #435083 #5969AA

Accessibility & contrast

On white

11.60
#2E375A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E375A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E375A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E375A#FFFFFF#000000##FFFFFF
##2E375A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5B
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#1E3E44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e375a;
/* rgb */ color: rgb(46, 55, 90);
/* oklch */ color: oklch(34.6% 0.063 271.9);
Tailwind
colors: {
  custom: {
    50: '#696d89',
    500: '#2e375a',
    950: '#000000',
  },
}
SCSS
$custom: #2e375a;
$custom-light: #696d89;
$custom-dark: #000000;
JSON
{
  "hex": "#2e375a",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 90
  },
  "hsl": {
    "h": 227.727,
    "s": 32.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.06255,
    "h": 271.9
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#2E375A
secondary
#8C8158
accent
#B35FC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2E375A

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

Preview Lab → · Contrast checker → · Palette generator →

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