#2E33A4#2E33A4

#2E33A4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.177 H 273.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2E33A4
RGBrgb(46, 51, 164)
HSLhsl(237, 56%, 41%)
HSVhsv(237, 72%, 64%)
CMYKcmyk(72%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.45, 36.36, -61.30)
CIE-LCHlch(28.45, 71.27, 300.68°)
OKLaboklab(39.82% 0.0094 -0.1772)
OKLCHoklch(39.82% 0.177 273)
XYZxyz(9.0091, 5.6279, 35.7263)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A4 #A49F2E
analogous
#2E6EA4 #2E33A4 #642EA4
triadic
#2E33A4 #A42E33 #33A42E
tetradic
#2E33A4 #A42E6E #A49F2E #2EA464
square
#2E33A4 #A42E6E #A49F2E #2EA464
split-complementary
#2E33A4 #A4642E #6EA42E
monochromatic
#131544 #212474 #2E33A4 #454ACB #7479D8

Accessibility & contrast

On white

9.88
#2E33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E33A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33A4
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A4#FFFFFF#000000##FFFFFF
##2E33A41.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e33a4;
/* rgb */ color: rgb(46, 51, 164);
/* oklch */ color: oklch(39.8% 0.177 273.0);
Tailwind
colors: {
  custom: {
    50: '#786bc0',
    500: '#2e33a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a4;
$custom-light: #786bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a4",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 237.458,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.17746,
    "h": 273
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#2E33A4
secondary
#C0BC6E
accent
#D948DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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