#2A33AF#2A33AF

#2A33AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.193 H 271.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2A33AF
RGBrgb(42, 51, 175)
HSLhsl(236, 61%, 43%)
HSVhsv(236, 76%, 69%)
CMYKcmyk(76%, 70.9%, 0%, 31.4%)
CIE-LABlab(29.30, 39.80, -66.54)
CIE-LCHlch(29.30, 77.53, 300.89°)
OKLaboklab(40.69% 0.0036 -0.1926)
OKLCHoklch(40.69% 0.193 271.1)
XYZxyz(9.8739, 5.9540, 41.1780)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A33AF #AFA62A
analogous
#2A75AF #2A33AF #642AAF
triadic
#2A33AF #AF2A33 #33AF2A
tetradic
#2A33AF #AF2A75 #AFA62A #2AAF64
square
#2A33AF #AF2A75 #AFA62A #2AAF64
split-complementary
#2A33AF #AF642A #75AF2A
monochromatic
#12164C #1E257E #2A33AF #444ED2 #757CDE

Accessibility & contrast

On white

9.58
#2A33AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A33AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A33AF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A33AF#FFFFFF#000000##FFFFFF
##2A33AF1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a33af;
/* rgb */ color: rgb(42, 51, 175);
/* oklch */ color: oklch(40.7% 0.193 271.1);
Tailwind
colors: {
  custom: {
    50: '#796bc8',
    500: '#2a33af',
    950: '#000000',
  },
}
SCSS
$custom: #2a33af;
$custom-light: #796bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a33af",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 235.94,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.19261,
    "h": 271.1
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#2A33AF
secondary
#C6C06F
accent
#DA43E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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