#2E33A0#2E33A0

#2E33A0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.172 H 273.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2E33A0
RGBrgb(46, 51, 160)
HSLhsl(237, 55%, 40%)
HSVhsv(237, 71%, 63%)
CMYKcmyk(71.2%, 68.1%, 0%, 37.3%)
CIE-LABlab(28.08, 34.95, -59.50)
CIE-LCHlch(28.08, 69.00, 300.43°)
OKLaboklab(39.43% 0.0099 -0.1719)
OKLCHoklch(39.43% 0.172 273.3)
XYZxyz(8.6536, 5.4857, 33.8537)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A0 #A09B2E
analogous
#2E6CA0 #2E33A0 #622EA0
triadic
#2E33A0 #A02E33 #33A02E
tetradic
#2E33A0 #A02E6C #A09B2E #2EA062
square
#2E33A0 #A02E6C #A09B2E #2EA062
split-complementary
#2E33A0 #A0622E #6CA02E
monochromatic
#131541 #202470 #2E33A0 #4248C9 #7276D6

Accessibility & contrast

On white

10.01
#2E33A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E33A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33A0
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A0#FFFFFF#000000##FFFFFF
##2E33A01.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e33a0;
/* rgb */ color: rgb(46, 51, 160);
/* oklch */ color: oklch(39.4% 0.172 273.3);
Tailwind
colors: {
  custom: {
    50: '#776bbd',
    500: '#2e33a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a0;
$custom-light: #776bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a0",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 160
  },
  "hsl": {
    "h": 237.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.17222,
    "h": 273.3
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#2E33A0
secondary
#BEBA6C
accent
#D849DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E33A0

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

Preview Lab → · Contrast checker → · Palette generator →

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