#2B33AB#2B33AB

#2B33AB is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.187 H 271.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#2B33AB
RGBrgb(43, 51, 171)
HSLhsl(236, 60%, 42%)
HSVhsv(236, 75%, 67%)
CMYKcmyk(74.9%, 70.2%, 0%, 32.9%)
CIE-LABlab(28.95, 38.50, -64.70)
CIE-LCHlch(28.95, 75.29, 300.76°)
OKLaboklab(40.34% 0.0052 -0.1872)
OKLCHoklch(40.34% 0.187 271.6)
XYZxyz(9.5283, 5.8205, 39.1415)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33AB #ABA32B
analogous
#2B73AB #2B33AB #632BAB
triadic
#2B33AB #AB2B33 #33AB2B
tetradic
#2B33AB #AB2B73 #ABA32B #2BAB63
square
#2B33AB #AB2B73 #ABA32B #2BAB63
split-complementary
#2B33AB #AB632B #73AB2B
monochromatic
#121649 #1F247A #2B33AB #434CD0 #747BDC

Accessibility & contrast

On white

9.70
#2B33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33AB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33AB#FFFFFF#000000##FFFFFF
##2B33AB1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b33ab;
/* rgb */ color: rgb(43, 51, 171);
/* oklch */ color: oklch(40.3% 0.187 271.6);
Tailwind
colors: {
  custom: {
    50: '#796bc5',
    500: '#2b33ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b33ab;
$custom-light: #796bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33ab",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 236.25,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.18727,
    "h": 271.6
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#2B33AB
secondary
#C4BE6E
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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