#2B33A8#2B33A8

#2B33A8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.183 H 271.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2B33A8
RGBrgb(43, 51, 168)
HSLhsl(236, 59%, 41%)
HSVhsv(236, 74%, 66%)
CMYKcmyk(74.4%, 69.6%, 0%, 34.1%)
CIE-LABlab(28.66, 37.44, -63.38)
CIE-LCHlch(28.66, 73.61, 300.57°)
OKLaboklab(40.04% 0.0056 -0.1834)
OKLCHoklch(40.04% 0.183 271.7)
XYZxyz(9.2456, 5.7074, 37.6526)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33A8 #A8A02B
analogous
#2B72A8 #2B33A8 #622BA8
triadic
#2B33A8 #A82B33 #33A82B
tetradic
#2B33A8 #A82B72 #A8A02B #2BA862
square
#2B33A8 #A82B72 #A8A02B #2BA862
split-complementary
#2B33A8 #A8622B #72A82B
monochromatic
#121547 #1F2477 #2B33A8 #424BCF #7279DB

Accessibility & contrast

On white

9.81
#2B33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B33A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33A8
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33A8#FFFFFF#000000##FFFFFF
##2B33A81.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b33a8;
/* rgb */ color: rgb(43, 51, 168);
/* oklch */ color: oklch(40.0% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#786bc3',
    500: '#2b33a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b33a8;
$custom-light: #786bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33a8",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 168
  },
  "hsl": {
    "h": 236.16,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.18343,
    "h": 271.7
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#2B33A8
secondary
#C2BD6C
accent
#D845E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B33A8

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

Preview Lab → · Contrast checker → · Palette generator →

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