#2B33A6#2B33A6

#2B33A6 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.181 H 271.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2B33A6
RGBrgb(43, 51, 166)
HSLhsl(236, 59%, 41%)
HSVhsv(236, 74%, 65%)
CMYKcmyk(74.1%, 69.3%, 0%, 34.9%)
CIE-LABlab(28.47, 36.73, -62.49)
CIE-LCHlch(28.47, 72.49, 300.45°)
OKLaboklab(39.84% 0.0058 -0.1808)
OKLCHoklch(39.84% 0.181 271.8)
XYZxyz(9.0607, 5.6335, 36.6789)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A6 #A69E2B
analogous
#2B70A6 #2B33A6 #602BA6
triadic
#2B33A6 #A62B33 #33A62B
tetradic
#2B33A6 #A62B70 #A69E2B #2BA660
square
#2B33A6 #A62B70 #A69E2B #2BA660
split-complementary
#2B33A6 #A6602B #70A62B
monochromatic
#121545 #1E2475 #2B33A6 #414ACE #7178DA

Accessibility & contrast

On white

9.87
#2B33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B33A6
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A6#FFFFFF#000000##FFFFFF
##2B33A61.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b33a6;
/* rgb */ color: rgb(43, 51, 166);
/* oklch */ color: oklch(39.8% 0.181 271.8);
Tailwind
colors: {
  custom: {
    50: '#786bc2',
    500: '#2b33a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a6;
$custom-light: #786bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a6",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 166
  },
  "hsl": {
    "h": 236.098,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.18085,
    "h": 271.8
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B33A6

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

Preview Lab → · Contrast checker → · Palette generator →

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