#2E33A3#2E33A3

#2E33A3 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.176 H 273.1°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2E33A3
RGBrgb(46, 51, 163)
HSLhsl(237, 56%, 41%)
HSVhsv(237, 72%, 64%)
CMYKcmyk(71.8%, 68.7%, 0%, 36.1%)
CIE-LABlab(28.36, 36.01, -60.85)
CIE-LCHlch(28.36, 70.71, 300.62°)
OKLaboklab(39.73% 0.0095 -0.1759)
OKLCHoklch(39.73% 0.176 273.1)
XYZxyz(8.9192, 5.5920, 35.2525)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E33A3 #A39E2E
analogous
#2E6DA3 #2E33A3 #632EA3
triadic
#2E33A3 #A32E33 #33A32E
tetradic
#2E33A3 #A32E6D #A39E2E #2EA363
square
#2E33A3 #A32E6D #A39E2E #2EA363
split-complementary
#2E33A3 #A3632E #6DA32E
monochromatic
#131544 #212473 #2E33A3 #444ACA #7478D8

Accessibility & contrast

On white

9.91
#2E33A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E33A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E33A3
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E33A3#FFFFFF#000000##FFFFFF
##2E33A31.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e33a3;
/* rgb */ color: rgb(46, 51, 163);
/* oklch */ color: oklch(39.7% 0.176 273.1);
Tailwind
colors: {
  custom: {
    50: '#786bbf',
    500: '#2e33a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e33a3;
$custom-light: #786bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e33a3",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 163
  },
  "hsl": {
    "h": 237.436,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.17616,
    "h": 273.1
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E33A3

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

Preview Lab → · Contrast checker → · Palette generator →

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