#2B33A4#2B33A4

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

Color values

HEX#2B33A4
RGBrgb(43, 51, 164)
HSLhsl(236, 58%, 41%)
HSVhsv(236, 74%, 64%)
CMYKcmyk(73.8%, 68.9%, 0%, 35.7%)
CIE-LABlab(28.28, 36.02, -61.60)
CIE-LCHlch(28.28, 71.36, 300.32°)
OKLaboklab(39.65% 0.006 -0.1781)
OKLCHoklch(39.65% 0.178 271.9)
XYZxyz(8.8787, 5.5607, 35.7202)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A4 #A49C2B
analogous
#2B6FA4 #2B33A4 #5F2BA4
triadic
#2B33A4 #A42B33 #33A42B
tetradic
#2B33A4 #A42B6F #A49C2B #2BA45F
square
#2B33A4 #A42B6F #A49C2B #2BA45F
split-complementary
#2B33A4 #A45F2B #6FA42B
monochromatic
#121543 #1E2474 #2B33A4 #3F49CD #7077D9

Accessibility & contrast

On white

9.94
#2B33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B33A4
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A4#FFFFFF#000000##FFFFFF
##2B33A41.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b33a4;
/* rgb */ color: rgb(43, 51, 164);
/* oklch */ color: oklch(39.6% 0.178 271.9);
Tailwind
colors: {
  custom: {
    50: '#776bc0',
    500: '#2b33a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a4;
$custom-light: #776bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a4",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 236.033,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.17825,
    "h": 271.9
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#2B33A4
secondary
#C1BB6A
accent
#D746E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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