#2E3A67#2E3A67

#2E3A67 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.079 H 270.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2E3A67
RGBrgb(46, 58, 103)
HSLhsl(227, 38%, 29%)
HSVhsv(227, 55%, 40%)
CMYKcmyk(55.3%, 43.7%, 0%, 59.6%)
CIE-LABlab(25.52, 9.46, -28.01)
CIE-LCHlch(25.52, 29.56, 288.66°)
OKLaboklab(36.14% 0.001 -0.0794)
OKLCHoklch(36.14% 0.079 270.7)
XYZxyz(5.0872, 4.5859, 13.4464)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A67 #675B2E
analogous
#2E5767 #2E3A67 #3F2E67
triadic
#2E3A67 #672E3A #3A672E
tetradic
#2E3A67 #672E57 #675B2E #2E673F
square
#2E3A67 #672E57 #675B2E #2E673F
split-complementary
#2E3A67 #673F2E #57672E
monochromatic
#090C15 #1B223D #2E3A67 #415291 #5A6DB5

Accessibility & contrast

On white

10.95
#2E3A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E3A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A67
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A67#FFFFFF#000000##FFFFFF
##2E3A671.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F69
Deuteranopia (green-blind)
#213A66
Tritanopia (blue-blind)
#14444B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e3a67;
/* rgb */ color: rgb(46, 58, 103);
/* oklch */ color: oklch(36.1% 0.079 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b6f92',
    500: '#2e3a67',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a67;
$custom-light: #6b6f92;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a67",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 227.368,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36136,
    "c": 0.07941,
    "h": 270.7
  },
  "luminance": 0.04586
}

Semantic roles & 50–950 ramp

primary
#2E3A67
secondary
#998B58
accent
#B65ACE
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E3A67

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

Preview Lab → · Contrast checker → · Palette generator →

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