#2B33A7#2B33A7

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

Color values

HEX#2B33A7
RGBrgb(43, 51, 167)
HSLhsl(236, 59%, 41%)
HSVhsv(236, 74%, 65%)
CMYKcmyk(74.3%, 69.5%, 0%, 34.5%)
CIE-LABlab(28.56, 37.09, -62.93)
CIE-LCHlch(28.56, 73.05, 300.51°)
OKLaboklab(39.94% 0.0057 -0.1821)
OKLCHoklch(39.94% 0.182 271.8)
XYZxyz(9.1528, 5.6703, 37.1638)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A7 #A79F2B
analogous
#2B71A7 #2B33A7 #612BA7
triadic
#2B33A7 #A72B33 #33A72B
tetradic
#2B33A7 #A72B71 #A79F2B #2BA761
square
#2B33A7 #A72B71 #A79F2B #2BA761
split-complementary
#2B33A7 #A7612B #71A72B
monochromatic
#121546 #1E2476 #2B33A7 #414ACE #7279DB

Accessibility & contrast

On white

9.84
#2B33A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B33A7
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A7#FFFFFF#000000##FFFFFF
##2B33A71.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b33a7;
/* rgb */ color: rgb(43, 51, 167);
/* oklch */ color: oklch(39.9% 0.182 271.8);
Tailwind
colors: {
  custom: {
    50: '#786bc2',
    500: '#2b33a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a7;
$custom-light: #786bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a7",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 236.129,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.18215,
    "h": 271.8
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#2B33A7
secondary
#C2BC6C
accent
#D846E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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