#2E33A5#2E33A5

#2E33A5 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.179 H 273.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2E33A5
RGBrgb(46, 51, 165)
HSLhsl(237, 56%, 41%)
HSVhsv(237, 72%, 65%)
CMYKcmyk(72.1%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.55, 36.71, -61.75)
CIE-LCHlch(28.55, 71.84, 300.74°)
OKLaboklab(39.92% 0.0093 -0.1785)
OKLCHoklch(39.92% 0.179 273)
XYZxyz(9.0998, 5.6642, 36.2037)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A5 #A5A02E
analogous
#2E6FA5 #2E33A5 #652EA5
triadic
#2E33A5 #A52E33 #33A52E
tetradic
#2E33A5 #A52E6F #A5A02E #2EA565
square
#2E33A5 #A52E6F #A5A02E #2EA565
split-complementary
#2E33A5 #A5652E #6FA52E
monochromatic
#131545 #212475 #2E33A5 #454BCB #7579D8

Accessibility & contrast

On white

9.85
#2E33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33A5
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A5#FFFFFF#000000##FFFFFF
##2E33A51.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e33a5;
/* rgb */ color: rgb(46, 51, 165);
/* oklch */ color: oklch(39.9% 0.179 273.0);
Tailwind
colors: {
  custom: {
    50: '#786bc1',
    500: '#2e33a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a5;
$custom-light: #786bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a5",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 237.479,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.17876,
    "h": 273
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#2E33A5
secondary
#C0BD6F
accent
#D948E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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