#2E366B#2E366B

#2E366B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.092 H 274.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2E366B
RGBrgb(46, 54, 107)
HSLhsl(232, 40%, 30%)
HSVhsv(232, 57%, 42%)
CMYKcmyk(57%, 49.5%, 0%, 58%)
CIE-LABlab(24.58, 13.67, -32.09)
CIE-LCHlch(24.58, 34.88, 293.08°)
OKLaboklab(35.5% 0.0069 -0.0914)
OKLCHoklch(35.5% 0.092 274.3)
XYZxyz(5.0989, 4.2804, 14.4646)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E366B #6B632E
analogous
#2E556B #2E366B #442E6B
triadic
#2E366B #6B2E36 #366B2E
tetradic
#2E366B #6B2E55 #6B632E #2E6B44
square
#2E366B #6B2E55 #6B632E #2E6B44
split-complementary
#2E366B #6B442E #556B2E
monochromatic
#090B15 #1C2040 #2E366B #404C96 #5B67B8

Accessibility & contrast

On white

11.31
#2E366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E366B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E366B#FFFFFF#000000##FFFFFF
##2E366B1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#16386A
Tritanopia (blue-blind)
#10424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e366b;
/* rgb */ color: rgb(46, 54, 107);
/* oklch */ color: oklch(35.5% 0.092 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c6c96',
    500: '#2e366b',
    950: '#000000',
  },
}
SCSS
$custom: #2e366b;
$custom-light: #6c6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e366b",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 232.131,
    "s": 39.869,
    "l": 30
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.09167,
    "h": 274.3
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#2E366B
secondary
#9D9458
accent
#C058D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E366B

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

Preview Lab → · Contrast checker → · Palette generator →

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