#2E33B1#2E33B1

#2E33B1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.194 H 272.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#2E33B1
RGBrgb(46, 51, 177)
HSLhsl(238, 59%, 44%)
HSVhsv(238, 74%, 69%)
CMYKcmyk(74%, 71.2%, 0%, 30.6%)
CIE-LABlab(29.72, 40.89, -67.03)
CIE-LCHlch(29.72, 78.51, 301.38°)
OKLaboklab(41.12% 0.0077 -0.1939)
OKLCHoklch(41.12% 0.194 272.3)
XYZxyz(10.2437, 6.1218, 42.2282)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33B1 #B1AC2E
analogous
#2E74B1 #2E33B1 #6A2EB1
triadic
#2E33B1 #B12E33 #33B12E
tetradic
#2E33B1 #B12E74 #B1AC2E #2EB16A
square
#2E33B1 #B12E74 #B1AC2E #2EB16A
split-complementary
#2E33B1 #B16A2E #74B12E
monochromatic
#151750 #212580 #2E33B1 #4C51D0 #7C80DD

Accessibility & contrast

On white

9.44
#2E33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33B1
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33B1#FFFFFF#000000##FFFFFF
##2E33B11.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e33b1;
/* rgb */ color: rgb(46, 51, 177);
/* oklch */ color: oklch(41.1% 0.194 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b6cc9',
    500: '#2e33b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e33b1;
$custom-light: #7b6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33b1",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 237.71,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.19408,
    "h": 272.3
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

primary
#2E33B1
secondary
#C6C275
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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