#2B33B2#2B33B2

#2B33B2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.196 H 271.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2B33B2
RGBrgb(43, 51, 178)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 76%, 70%)
CMYKcmyk(75.8%, 71.3%, 0%, 30.2%)
CIE-LABlab(29.65, 40.94, -67.74)
CIE-LCHlch(29.65, 79.15, 301.15°)
OKLaboklab(41.05% 0.0043 -0.1961)
OKLCHoklch(41.05% 0.196 271.3)
XYZxyz(10.2132, 6.0945, 42.7489)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33B2 #B2AA2B
analogous
#2B77B2 #2B33B2 #662BB2
triadic
#2B33B2 #B22B33 #33B22B
tetradic
#2B33B2 #B22B77 #B2AA2B #2BB266
square
#2B33B2 #B22B77 #B2AA2B #2BB266
split-complementary
#2B33B2 #B2662B #77B22B
monochromatic
#13174F #1F2581 #2B33B2 #4850D3 #797FDF

Accessibility & contrast

On white

9.46
#2B33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33B2
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33B2#FFFFFF#000000##FFFFFF
##2B33B21.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b33b2;
/* rgb */ color: rgb(43, 51, 178);
/* oklch */ color: oklch(41.1% 0.196 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a6bca',
    500: '#2b33b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b33b2;
$custom-light: #7a6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33b2",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 236.444,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.19613,
    "h": 271.3
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#2B33B2
secondary
#C7C272
accent
#DB44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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