#2B33B3#2B33B3

#2B33B3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.2% C 0.197 H 271.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B33B3
RGBrgb(43, 51, 179)
HSLhsl(236, 61%, 44%)
HSVhsv(236, 76%, 70%)
CMYKcmyk(76%, 71.5%, 0%, 29.8%)
CIE-LABlab(29.75, 41.29, -68.17)
CIE-LCHlch(29.75, 79.70, 301.20°)
OKLaboklab(41.16% 0.0042 -0.1973)
OKLCHoklch(41.16% 0.197 271.2)
XYZxyz(10.3140, 6.1348, 43.2796)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33B3 #B3AB2B
analogous
#2B77B3 #2B33B3 #672BB3
triadic
#2B33B3 #B32B33 #33B32B
tetradic
#2B33B3 #B32B77 #B3AB2B #2BB367
square
#2B33B3 #B32B77 #B3AB2B #2BB367
split-complementary
#2B33B3 #B3672B #77B32B
monochromatic
#131750 #1F2582 #2B33B3 #4850D3 #797FDF

Accessibility & contrast

On white

9.43
#2B33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33B3
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33B3#FFFFFF#000000##FFFFFF
##2B33B31.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b33b3;
/* rgb */ color: rgb(43, 51, 179);
/* oklch */ color: oklch(41.2% 0.197 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b6bcb',
    500: '#2b33b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b33b3;
$custom-light: #7b6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33b3",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 236.471,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41155,
    "c": 0.19737,
    "h": 271.2
  },
  "luminance": 0.06136
}

Semantic roles & 50–950 ramp

primary
#2B33B3
secondary
#C7C273
accent
#DB43E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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