#2E33A1#2E33A1

#2E33A1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.174 H 273.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2E33A1
RGBrgb(46, 51, 161)
HSLhsl(237, 56%, 41%)
HSVhsv(237, 71%, 63%)
CMYKcmyk(71.4%, 68.3%, 0%, 36.9%)
CIE-LABlab(28.17, 35.30, -59.95)
CIE-LCHlch(28.17, 69.57, 300.49°)
OKLaboklab(39.53% 0.0098 -0.1733)
OKLCHoklch(39.53% 0.174 273.2)
XYZxyz(8.7414, 5.5209, 34.3163)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A1 #A19C2E
analogous
#2E6CA1 #2E33A1 #622EA1
triadic
#2E33A1 #A12E33 #33A12E
tetradic
#2E33A1 #A12E6C #A19C2E #2EA162
square
#2E33A1 #A12E6C #A19C2E #2EA162
split-complementary
#2E33A1 #A1622E #6CA12E
monochromatic
#131542 #202471 #2E33A1 #4349C9 #7377D7

Accessibility & contrast

On white

9.98
#2E33A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E33A1
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A1#FFFFFF#000000##FFFFFF
##2E33A11.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e33a1;
/* rgb */ color: rgb(46, 51, 161);
/* oklch */ color: oklch(39.5% 0.174 273.2);
Tailwind
colors: {
  custom: {
    50: '#786bbe',
    500: '#2e33a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a1;
$custom-light: #786bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a1",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 161
  },
  "hsl": {
    "h": 237.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.17353,
    "h": 273.2
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E33A1

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

Preview Lab → · Contrast checker → · Palette generator →

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