#2B33A5#2B33A5

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

Color values

HEX#2B33A5
RGBrgb(43, 51, 165)
HSLhsl(236, 59%, 41%)
HSVhsv(236, 74%, 65%)
CMYKcmyk(73.9%, 69.1%, 0%, 35.3%)
CIE-LABlab(28.37, 36.38, -62.05)
CIE-LCHlch(28.37, 71.92, 300.38°)
OKLaboklab(39.75% 0.0059 -0.1795)
OKLCHoklch(39.75% 0.18 271.9)
XYZxyz(8.9693, 5.5969, 36.1976)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A5 #A59D2B
analogous
#2B70A5 #2B33A5 #602BA5
triadic
#2B33A5 #A52B33 #33A52B
tetradic
#2B33A5 #A52B70 #A59D2B #2BA560
square
#2B33A5 #A52B70 #A59D2B #2BA560
split-complementary
#2B33A5 #A5602B #70A52B
monochromatic
#121544 #1E2474 #2B33A5 #4049CD #7177DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B33A5#FFFFFF#000000##FFFFFF
##2B33A51.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)
#0049A8
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b33a5;
/* rgb */ color: rgb(43, 51, 165);
/* oklch */ color: oklch(39.7% 0.180 271.9);
Tailwind
colors: {
  custom: {
    50: '#776bc1',
    500: '#2b33a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a5;
$custom-light: #776bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a5",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 236.066,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.17956,
    "h": 271.9
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#2B33A5
secondary
#C1BB6B
accent
#D846E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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