#2E337D#2E337D

#2E337D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.124 H 275.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2E337D
RGBrgb(46, 51, 125)
HSLhsl(236, 46%, 34%)
HSVhsv(236, 63%, 49%)
CMYKcmyk(63.2%, 59.2%, 0%, 51%)
CIE-LABlab(25.04, 22.31, -42.81)
CIE-LCHlch(25.04, 48.27, 297.52°)
OKLaboklab(36.26% 0.0117 -0.123)
OKLCHoklch(36.26% 0.124 275.5)
XYZxyz(6.0110, 4.4287, 19.9361)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E337D #7D782E
analogous
#2E5A7D #2E337D #502E7D
triadic
#2E337D #7D2E33 #337D2E
tetradic
#2E337D #7D2E5A #7D782E #2E7D50
square
#2E337D #7D2E5A #7D782E #2E7D50
split-complementary
#2E337D #7D502E #5A7D2E
monochromatic
#0D0E24 #1E2150 #2E337D #3E45AA #6167C5

Accessibility & contrast

On white

11.14
#2E337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E337D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E337D#FFFFFF#000000##FFFFFF
##2E337D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e337d;
/* rgb */ color: rgb(46, 51, 125);
/* oklch */ color: oklch(36.3% 0.124 275.5);
Tailwind
colors: {
  custom: {
    50: '#706aa3',
    500: '#2e337d',
    950: '#000000',
  },
}
SCSS
$custom: #2e337d;
$custom-light: #706aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e337d",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 236.203,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36264,
    "c": 0.12352,
    "h": 275.5
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E337D

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

Preview Lab → · Contrast checker → · Palette generator →

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