#2E33B7#2E33B7

#2E33B7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.7% C 0.202 H 272.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2E33B7
RGBrgb(46, 51, 183)
HSLhsl(238, 60%, 45%)
HSVhsv(238, 75%, 72%)
CMYKcmyk(74.9%, 72.1%, 0%, 28.2%)
CIE-LABlab(30.32, 42.94, -69.61)
CIE-LCHlch(30.32, 81.79, 301.67°)
OKLaboklab(41.73% 0.0069 -0.2014)
OKLCHoklch(41.73% 0.202 272)
XYZxyz(10.8549, 6.3662, 45.4473)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33B7 #B7B22E
analogous
#2E78B7 #2E33B7 #6D2EB7
triadic
#2E33B7 #B72E33 #33B72E
tetradic
#2E33B7 #B72E78 #B7B22E #2EB76D
square
#2E33B7 #B72E78 #B7B22E #2EB76D
split-complementary
#2E33B7 #B76D2E #78B72E
monochromatic
#151855 #222586 #2E33B7 #4F54D3 #8084DF

Accessibility & contrast

On white

9.24
#2E33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E33B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33B7
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33B7#FFFFFF#000000##FFFFFF
##2E33B71.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e33b7;
/* rgb */ color: rgb(46, 51, 183);
/* oklch */ color: oklch(41.7% 0.202 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d6cce',
    500: '#2e33b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e33b7;
$custom-light: #7d6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33b7",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 237.81,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.20157,
    "h": 272
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#2E33B7
secondary
#C8C579
accent
#DD45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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