#2A33A9#2A33A9

#2A33A9 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.185 H 271.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2A33A9
RGBrgb(42, 51, 169)
HSLhsl(236, 60%, 41%)
HSVhsv(236, 75%, 66%)
CMYKcmyk(75.1%, 69.8%, 0%, 33.7%)
CIE-LABlab(28.70, 37.69, -63.91)
CIE-LCHlch(28.70, 74.20, 300.53°)
OKLaboklab(40.09% 0.0044 -0.1849)
OKLCHoklch(40.09% 0.185 271.3)
XYZxyz(9.2977, 5.7235, 38.1432)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33A9 #A9A02A
analogous
#2A73A9 #2A33A9 #612AA9
triadic
#2A33A9 #A92A33 #33A92A
tetradic
#2A33A9 #A92A73 #A9A02A #2AA961
square
#2A33A9 #A92A73 #A9A02A #2AA961
split-complementary
#2A33A9 #A9612A #73A92A
monochromatic
#121547 #1E2478 #2A33A9 #414BD0 #7279DC

Accessibility & contrast

On white

9.79
#2A33A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A33A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33A9
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33A9#FFFFFF#000000##FFFFFF
##2A33A91.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a33a9;
/* rgb */ color: rgb(42, 51, 169);
/* oklch */ color: oklch(40.1% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#786bc4',
    500: '#2a33a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a33a9;
$custom-light: #786bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33a9",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 169
  },
  "hsl": {
    "h": 235.748,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.18498,
    "h": 271.3
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#2A33A9
secondary
#C3BD6C
accent
#D844E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A33A9

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

Preview Lab → · Contrast checker → · Palette generator →

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