#2B33AA#2B33AA

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

Color values

HEX#2B33AA
RGBrgb(43, 51, 170)
HSLhsl(236, 60%, 42%)
HSVhsv(236, 75%, 67%)
CMYKcmyk(74.7%, 70%, 0%, 33.3%)
CIE-LABlab(28.86, 38.15, -64.26)
CIE-LCHlch(28.86, 74.73, 300.70°)
OKLaboklab(40.24% 0.0053 -0.1859)
OKLCHoklch(40.24% 0.186 271.6)
XYZxyz(9.4333, 5.7825, 38.6414)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33AA #AAA22B
analogous
#2B73AA #2B33AA #622BAA
triadic
#2B33AA #AA2B33 #33AA2B
tetradic
#2B33AA #AA2B73 #AAA22B #2BAA62
square
#2B33AA #AA2B73 #AAA22B #2BAA62
split-complementary
#2B33AA #AA622B #73AA2B
monochromatic
#121648 #1F2479 #2B33AA #434CCF #747ADC

Accessibility & contrast

On white

9.74
#2B33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B33AA
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33AA#FFFFFF#000000##FFFFFF
##2B33AA1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b33aa;
/* rgb */ color: rgb(43, 51, 170);
/* oklch */ color: oklch(40.2% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#796bc4',
    500: '#2b33aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b33aa;
$custom-light: #796bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33aa",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 236.22,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.186,
    "h": 271.6
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#2B33AA
secondary
#C3BE6E
accent
#D945E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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