#2A33B1#2A33B1

#2A33B1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.195 H 271.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#2A33B1
RGBrgb(42, 51, 177)
HSLhsl(236, 62%, 43%)
HSVhsv(236, 76%, 69%)
CMYKcmyk(76.3%, 71.2%, 0%, 30.6%)
CIE-LABlab(29.50, 40.50, -67.40)
CIE-LCHlch(29.50, 78.63, 301.00°)
OKLaboklab(40.9% 0.0034 -0.1951)
OKLCHoklch(40.9% 0.195 271)
XYZxyz(10.0718, 6.0331, 42.2201)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33B1 #B1A82A
analogous
#2A76B1 #2A33B1 #642AB1
triadic
#2A33B1 #B12A33 #33B12A
tetradic
#2A33B1 #B12A76 #B1A82A #2AB164
square
#2A33B1 #B12A76 #B1A82A #2AB164
split-complementary
#2A33B1 #B1642A #76B12A
monochromatic
#13164E #1E2580 #2A33B1 #454FD3 #777EDF

Accessibility & contrast

On white

9.52
#2A33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33B1
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33B1#FFFFFF#000000##FFFFFF
##2A33B11.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a33b1;
/* rgb */ color: rgb(42, 51, 177);
/* oklch */ color: oklch(40.9% 0.195 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a6bca',
    500: '#2a33b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a33b1;
$custom-light: #7a6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33b1",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 236,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40897,
    "c": 0.19514,
    "h": 271
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#2A33B1
secondary
#C6C170
accent
#DA43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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