#2E33AC#2E33AC

#2E33AC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.6% C 0.188 H 272.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2E33AC
RGBrgb(46, 51, 172)
HSLhsl(238, 58%, 43%)
HSVhsv(238, 73%, 67%)
CMYKcmyk(73.3%, 70.3%, 0%, 32.5%)
CIE-LABlab(29.23, 39.16, -64.85)
CIE-LCHlch(29.23, 75.75, 301.13°)
OKLaboklab(40.61% 0.0084 -0.1876)
OKLCHoklch(40.61% 0.188 272.6)
XYZxyz(9.7544, 5.9261, 39.6515)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33AC #ACA72E
analogous
#2E72AC #2E33AC #682EAC
triadic
#2E33AC #AC2E33 #33AC2E
tetradic
#2E33AC #AC2E72 #ACA72E #2EAC68
square
#2E33AC #AC2E72 #ACA72E #2EAC68
split-complementary
#2E33AC #AC682E #72AC2E
monochromatic
#14164B #21257C #2E33AC #494ECE #797DDB

Accessibility & contrast

On white

9.61
#2E33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2E33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33AC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33AC#FFFFFF#000000##FFFFFF
##2E33AC1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e33ac;
/* rgb */ color: rgb(46, 51, 172);
/* oklch */ color: oklch(40.6% 0.188 272.6);
Tailwind
colors: {
  custom: {
    50: '#7a6bc6',
    500: '#2e33ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e33ac;
$custom-light: #7a6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33ac",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 237.619,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.18776,
    "h": 272.6
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#2E33AC
secondary
#C3C072
accent
#DB47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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