#2E3767#2E3767

#2E3767 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.084 H 273.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2E3767
RGBrgb(46, 55, 103)
HSLhsl(231, 38%, 29%)
HSVhsv(231, 55%, 40%)
CMYKcmyk(55.3%, 46.6%, 0%, 59.6%)
CIE-LABlab(24.61, 11.53, -29.45)
CIE-LCHlch(24.61, 31.63, 291.39°)
OKLaboklab(35.44% 0.005 -0.0836)
OKLCHoklch(35.44% 0.084 273.4)
XYZxyz(4.9403, 4.2922, 13.3975)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3767 #675E2E
analogous
#2E5467 #2E3767 #422E67
triadic
#2E3767 #672E37 #37672E
tetradic
#2E3767 #672E54 #675E2E #2E6742
square
#2E3767 #672E54 #675E2E #2E6742
split-complementary
#2E3767 #67422E #54672E
monochromatic
#090B15 #1B203D #2E3767 #414E91 #5A68B5

Accessibility & contrast

On white

11.30
#2E3767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E3767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3767
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3767#FFFFFF#000000##FFFFFF
##2E37671.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233D69
Deuteranopia (green-blind)
#1D3866
Tritanopia (blue-blind)
#14414A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e3767;
/* rgb */ color: rgb(46, 55, 103);
/* oklch */ color: oklch(35.4% 0.084 273.4);
Tailwind
colors: {
  custom: {
    50: '#6b6d93',
    500: '#2e3767',
    950: '#000000',
  },
}
SCSS
$custom: #2e3767;
$custom-light: #6b6d93;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3767",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 103
  },
  "hsl": {
    "h": 230.526,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35442,
    "c": 0.0838,
    "h": 273.4
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#2E3767
secondary
#998E58
accent
#BC5ACE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E3767

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

Preview Lab → · Contrast checker → · Palette generator →

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