#2E33A2#2E33A2

#2E33A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.175 H 273.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#2E33A2
RGBrgb(46, 51, 162)
HSLhsl(237, 56%, 41%)
HSVhsv(237, 72%, 64%)
CMYKcmyk(71.6%, 68.5%, 0%, 36.5%)
CIE-LABlab(28.26, 35.66, -60.40)
CIE-LCHlch(28.26, 70.14, 300.56°)
OKLaboklab(39.63% 0.0096 -0.1746)
OKLCHoklch(39.63% 0.175 273.2)
XYZxyz(8.8299, 5.5563, 34.7825)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A2 #A29D2E
analogous
#2E6DA2 #2E33A2 #632EA2
triadic
#2E33A2 #A22E33 #33A22E
tetradic
#2E33A2 #A22E6D #A29D2E #2EA263
square
#2E33A2 #A22E6D #A29D2E #2EA263
split-complementary
#2E33A2 #A2632E #6DA22E
monochromatic
#131543 #202472 #2E33A2 #4349CA #7377D7

Accessibility & contrast

On white

9.95
#2E33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33A2
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A2#FFFFFF#000000##FFFFFF
##2E33A21.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e33a2;
/* rgb */ color: rgb(46, 51, 162);
/* oklch */ color: oklch(39.6% 0.175 273.2);
Tailwind
colors: {
  custom: {
    50: '#786bbf',
    500: '#2e33a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a2;
$custom-light: #786bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a2",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 237.414,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.17485,
    "h": 273.2
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#2E33A2
secondary
#BFBB6D
accent
#D949DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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