#2E33B4#2E33B4

#2E33B4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.198 H 272.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2E33B4
RGBrgb(46, 51, 180)
HSLhsl(238, 59%, 44%)
HSVhsv(238, 74%, 71%)
CMYKcmyk(74.4%, 71.7%, 0%, 29.4%)
CIE-LABlab(30.02, 41.91, -68.32)
CIE-LCHlch(30.02, 80.16, 301.53°)
OKLaboklab(41.42% 0.0073 -0.1977)
OKLCHoklch(41.42% 0.198 272.1)
XYZxyz(10.5460, 6.2427, 43.8203)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33B4 #B4AF2E
analogous
#2E76B4 #2E33B4 #6C2EB4
triadic
#2E33B4 #B42E33 #33B42E
tetradic
#2E33B4 #B42E76 #B4AF2E #2EB46C
square
#2E33B4 #B42E76 #B4AF2E #2EB46C
split-complementary
#2E33B4 #B46C2E #76B42E
monochromatic
#151753 #222583 #2E33B4 #4E52D2 #7E82DE

Accessibility & contrast

On white

9.34
#2E33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2E33B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33B4
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33B4#FFFFFF#000000##FFFFFF
##2E33B41.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0040B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e33b4;
/* rgb */ color: rgb(46, 51, 180);
/* oklch */ color: oklch(41.4% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c6ccc',
    500: '#2e33b4',
    950: '#000000',
  },
}
SCSS
$custom: #2e33b4;
$custom-light: #7c6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33b4",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 237.761,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41421,
    "c": 0.19785,
    "h": 272.1
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#2E33B4
secondary
#C7C477
accent
#DD45E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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