#2E33AA#2E33AA

#2E33AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.185 H 272.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2E33AA
RGBrgb(46, 51, 170)
HSLhsl(238, 57%, 42%)
HSVhsv(238, 73%, 67%)
CMYKcmyk(72.9%, 70%, 0%, 33.3%)
CIE-LABlab(29.03, 38.46, -63.97)
CIE-LCHlch(29.03, 74.64, 301.02°)
OKLaboklab(40.41% 0.0087 -0.185)
OKLCHoklch(40.41% 0.185 272.7)
XYZxyz(9.5638, 5.8498, 38.6475)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33AA #AAA52E
analogous
#2E71AA #2E33AA #672EAA
triadic
#2E33AA #AA2E33 #33AA2E
tetradic
#2E33AA #AA2E71 #AAA52E #2EAA67
square
#2E33AA #AA2E71 #AAA52E #2EAA67
split-complementary
#2E33AA #AA672E #71AA2E
monochromatic
#14164A #21257A #2E33AA #484DCD #787CDA

Accessibility & contrast

On white

9.68
#2E33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33AA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33AA#FFFFFF#000000##FFFFFF
##2E33AA1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e33aa;
/* rgb */ color: rgb(46, 51, 170);
/* oklch */ color: oklch(40.4% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a6bc4',
    500: '#2e33aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e33aa;
$custom-light: #7a6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33aa",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 237.581,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40414,
    "c": 0.1852,
    "h": 272.7
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#2E33AA
secondary
#C3BF71
accent
#DA47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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