#2E33A6#2E33A6

#2E33A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.180 H 272.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2E33A6
RGBrgb(46, 51, 166)
HSLhsl(238, 57%, 42%)
HSVhsv(238, 72%, 65%)
CMYKcmyk(72.3%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.64, 37.07, -62.19)
CIE-LCHlch(28.64, 72.40, 300.79°)
OKLaboklab(40.02% 0.0092 -0.1798)
OKLCHoklch(40.02% 0.18 272.9)
XYZxyz(9.1912, 5.7008, 36.6850)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A6 #A6A12E
analogous
#2E6FA6 #2E33A6 #652EA6
triadic
#2E33A6 #A62E33 #33A62E
tetradic
#2E33A6 #A62E6F #A6A12E #2EA665
square
#2E33A6 #A62E6F #A6A12E #2EA665
split-complementary
#2E33A6 #A6652E #6FA62E
monochromatic
#131646 #212476 #2E33A6 #464BCC #767AD9

Accessibility & contrast

On white

9.81
#2E33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2E33A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33A6
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A6#FFFFFF#000000##FFFFFF
##2E33A61.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e33a6;
/* rgb */ color: rgb(46, 51, 166);
/* oklch */ color: oklch(40.0% 0.180 272.9);
Tailwind
colors: {
  custom: {
    50: '#796bc1',
    500: '#2e33a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a6;
$custom-light: #796bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a6",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 237.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.18005,
    "h": 272.9
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#2E33A6
secondary
#C1BD6F
accent
#DA48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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