#2A33B3#2A33B3

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

Color values

HEX#2A33B3
RGBrgb(42, 51, 179)
HSLhsl(236, 62%, 43%)
HSVhsv(236, 77%, 70%)
CMYKcmyk(76.5%, 71.5%, 0%, 29.8%)
CIE-LABlab(29.70, 41.20, -68.26)
CIE-LCHlch(29.70, 79.73, 301.11°)
OKLaboklab(41.1% 0.0031 -0.1976)
OKLCHoklch(41.1% 0.198 270.9)
XYZxyz(10.2726, 6.1135, 43.2777)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33B3 #B3AA2A
analogous
#2A77B3 #2A33B3 #652AB3
triadic
#2A33B3 #B32A33 #33B32A
tetradic
#2A33B3 #B32A77 #B3AA2A #2AB365
square
#2A33B3 #B32A77 #B3AA2A #2AB365
split-complementary
#2A33B3 #B3652A #77B32A
monochromatic
#131750 #1E2581 #2A33B3 #4650D4 #787FDF

Accessibility & contrast

On white

9.45
#2A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A33B3
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33B3#FFFFFF#000000##FFFFFF
##2A33B31.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a33b3;
/* rgb */ color: rgb(42, 51, 179);
/* oklch */ color: oklch(41.1% 0.198 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a6bcb',
    500: '#2a33b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a33b3;
$custom-light: #7a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33b3",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 236.058,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.19764,
    "h": 270.9
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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