#2E375F#2E375F

#2E375F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.071 H 272.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#2E375F
RGBrgb(46, 55, 95)
HSLhsl(229, 35%, 28%)
HSVhsv(229, 52%, 37%)
CMYKcmyk(51.6%, 42.1%, 0%, 62.7%)
CIE-LABlab(24.13, 8.69, -25.03)
CIE-LCHlch(24.13, 26.50, 289.15°)
OKLaboklab(34.91% 0.0033 -0.0707)
OKLCHoklch(34.91% 0.071 272.7)
XYZxyz(4.5578, 4.1392, 11.3830)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E375F #5F562E
analogous
#2E4F5F #2E375F #3E2E5F
triadic
#2E375F #5F2E37 #375F2E
tetradic
#2E375F #5F2E4F #5F562E #2E5F3E
square
#2E375F #5F2E4F #5F562E #2E5F3E
split-complementary
#2E375F #5F3E2E #4F5F2E
monochromatic
#0A0C15 #1A1F36 #2E375F #424F88 #5969AF

Accessibility & contrast

On white

11.49
#2E375F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E375F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E375F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E375F#FFFFFF#000000##FFFFFF
##2E375F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#23375E
Tritanopia (blue-blind)
#1B3F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e375f;
/* rgb */ color: rgb(46, 55, 95);
/* oklch */ color: oklch(34.9% 0.071 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a6d8c',
    500: '#2e375f',
    950: '#000000',
  },
}
SCSS
$custom: #2e375f;
$custom-light: #6a6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e375f",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 95
  },
  "hsl": {
    "h": 228.98,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34909,
    "c": 0.07081,
    "h": 272.7
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#2E375F
secondary
#918658
accent
#B75DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2E375F

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

Preview Lab → · Contrast checker → · Palette generator →

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