#2E33B8#2E33B8

#2E33B8 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.8% C 0.203 H 271.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2E33B8
RGBrgb(46, 51, 184)
HSLhsl(238, 60%, 45%)
HSVhsv(238, 75%, 72%)
CMYKcmyk(75%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.42, 43.28, -70.03)
CIE-LCHlch(30.42, 82.33, 301.71°)
OKLaboklab(41.83% 0.0067 -0.2027)
OKLCHoklch(41.83% 0.203 271.9)
XYZxyz(10.9593, 6.4080, 45.9974)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33B8 #B8B32E
analogous
#2E78B8 #2E33B8 #6E2EB8
triadic
#2E33B8 #B82E33 #33B82E
tetradic
#2E33B8 #B82E78 #B8B32E #2EB86E
square
#2E33B8 #B82E78 #B8B32E #2EB86E
split-complementary
#2E33B8 #B86E2E #78B82E
monochromatic
#161856 #222587 #2E33B8 #5055D3 #8184DF

Accessibility & contrast

On white

9.20
#2E33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33B8
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33B8#FFFFFF#000000##FFFFFF
##2E33B81.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e33b8;
/* rgb */ color: rgb(46, 51, 184);
/* oklch */ color: oklch(41.8% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ccf',
    500: '#2e33b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e33b8;
$custom-light: #7d6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33b8",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 237.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.2028,
    "h": 271.9
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#2E33B8
secondary
#C8C679
accent
#DD45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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