#2A33B5#2A33B5

#2A33B5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.3% C 0.200 H 270.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2A33B5
RGBrgb(42, 51, 181)
HSLhsl(236, 62%, 44%)
HSVhsv(236, 77%, 71%)
CMYKcmyk(76.8%, 71.8%, 0%, 29%)
CIE-LABlab(29.90, 41.89, -69.12)
CIE-LCHlch(29.90, 80.82, 301.22°)
OKLaboklab(41.31% 0.0028 -0.2001)
OKLCHoklch(41.31% 0.2 270.8)
XYZxyz(10.4763, 6.1949, 44.3507)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33B5 #B5AC2A
analogous
#2A78B5 #2A33B5 #662AB5
triadic
#2A33B5 #B52A33 #33B52A
tetradic
#2A33B5 #B52A78 #B5AC2A #2AB566
square
#2A33B5 #B52A78 #B5AC2A #2AB566
split-complementary
#2A33B5 #B5662A #78B52A
monochromatic
#131752 #1E2583 #2A33B5 #4851D4 #7980E0

Accessibility & contrast

On white

9.38
#2A33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2A33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33B5
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33B5#FFFFFF#000000##FFFFFF
##2A33B51.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a33b5;
/* rgb */ color: rgb(42, 51, 181);
/* oklch */ color: oklch(41.3% 0.200 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b6ccc',
    500: '#2a33b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a33b5;
$custom-light: #7b6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33b5",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 236.115,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.20013,
    "h": 270.8
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#2A33B5
secondary
#C8C273
accent
#DB42E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2A33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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