#2A33B4#2A33B4

#2A33B4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.199 H 270.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2A33B4
RGBrgb(42, 51, 180)
HSLhsl(236, 62%, 44%)
HSVhsv(236, 77%, 71%)
CMYKcmyk(76.7%, 71.7%, 0%, 29.4%)
CIE-LABlab(29.80, 41.55, -68.69)
CIE-LCHlch(29.80, 80.28, 301.17°)
OKLaboklab(41.21% 0.003 -0.1989)
OKLCHoklch(41.21% 0.199 270.9)
XYZxyz(10.3741, 6.1541, 43.8123)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33B4 #B4AB2A
analogous
#2A78B4 #2A33B4 #662AB4
triadic
#2A33B4 #B42A33 #33B42A
tetradic
#2A33B4 #B42A78 #B4AB2A #2AB466
square
#2A33B4 #B42A78 #B4AB2A #2AB466
split-complementary
#2A33B4 #B4662A #78B42A
monochromatic
#131751 #1E2582 #2A33B4 #4750D4 #797FE0

Accessibility & contrast

On white

9.41
#2A33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A33B4
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33B4#FFFFFF#000000##FFFFFF
##2A33B41.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a33b4;
/* rgb */ color: rgb(42, 51, 180);
/* oklch */ color: oklch(41.2% 0.199 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b6ccc',
    500: '#2a33b4',
    950: '#000000',
  },
}
SCSS
$custom: #2a33b4;
$custom-light: #7b6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33b4",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 236.087,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.19889,
    "h": 270.9
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#2A33B4
secondary
#C8C272
accent
#DB43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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