#2B33B8#2B33B8

#2B33B8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.204 H 271.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2B33B8
RGBrgb(43, 51, 184)
HSLhsl(237, 62%, 45%)
HSVhsv(237, 77%, 72%)
CMYKcmyk(76.6%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.26, 43.01, -70.31)
CIE-LCHlch(30.26, 82.42, 301.46°)
OKLaboklab(41.67% 0.0035 -0.2036)
OKLCHoklch(41.67% 0.204 271)
XYZxyz(10.8289, 6.3408, 45.9913)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B33B8 #B8B02B
analogous
#2B79B8 #2B33B8 #6A2BB8
triadic
#2B33B8 #B82B33 #33B82B
tetradic
#2B33B8 #B82B79 #B8B02B #2BB86A
square
#2B33B8 #B82B79 #B8B02B #2BB86A
split-complementary
#2B33B8 #B86A2B #79B82B
monochromatic
#141855 #1F2586 #2B33B8 #4B53D5 #7D82E1

Accessibility & contrast

On white

9.26
#2B33B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B33B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B33B8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B33B8#FFFFFF#000000##FFFFFF
##2B33B81.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b33b8;
/* rgb */ color: rgb(43, 51, 184);
/* oklch */ color: oklch(41.7% 0.204 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ccf',
    500: '#2b33b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b33b8;
$custom-light: #7c6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b33b8",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 236.596,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.20359,
    "h": 271
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#2B33B8
secondary
#C9C476
accent
#DC43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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