#2E337E#2E337E

#2E337E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.125 H 275.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2E337E
RGBrgb(46, 51, 126)
HSLhsl(236, 47%, 34%)
HSVhsv(236, 63%, 49%)
CMYKcmyk(63.5%, 59.5%, 0%, 50.6%)
CIE-LABlab(25.12, 22.67, -43.31)
CIE-LCHlch(25.12, 48.89, 297.63°)
OKLaboklab(36.35% 0.0118 -0.1244)
OKLCHoklch(36.35% 0.125 275.4)
XYZxyz(6.0752, 4.4544, 20.2743)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E337E #7E792E
analogous
#2E5B7E #2E337E #512E7E
triadic
#2E337E #7E2E33 #337E2E
tetradic
#2E337E #7E2E5B #7E792E #2E7E51
square
#2E337E #7E2E5B #7E792E #2E7E51
split-complementary
#2E337E #7E512E #5B7E2E
monochromatic
#0D0F24 #1E2151 #2E337E #3E45AB #6167C5

Accessibility & contrast

On white

11.11
#2E337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E337E
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E337E#FFFFFF#000000##FFFFFF
##2E337E1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e337e;
/* rgb */ color: rgb(46, 51, 126);
/* oklch */ color: oklch(36.3% 0.125 275.4);
Tailwind
colors: {
  custom: {
    50: '#706aa4',
    500: '#2e337e',
    950: '#000000',
  },
}
SCSS
$custom: #2e337e;
$custom-light: #706aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e337e",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 236.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36348,
    "c": 0.12499,
    "h": 275.4
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#2E337E
secondary
#ACA75C
accent
#CE52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E337E

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

Preview Lab → · Contrast checker → · Palette generator →

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