#2A2DB0#2A2DB0

#2A2DB0 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.9% C 0.200 H 271.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2A2DB0
RGBrgb(42, 45, 176)
HSLhsl(239, 61%, 43%)
HSVhsv(239, 76%, 69%)
CMYKcmyk(76.1%, 74.4%, 0%, 31%)
CIE-LABlab(28.12, 43.70, -69.07)
CIE-LCHlch(28.12, 81.73, 302.32°)
OKLaboklab(39.88% 0.0063 -0.1999)
OKLCHoklch(39.88% 0.2 271.8)
XYZxyz(9.7271, 5.5026, 41.6153)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2DB0 #B0AD2A
analogous
#2A70B0 #2A2DB0 #6A2AB0
triadic
#2A2DB0 #B02A2D #2DB02A
tetradic
#2A2DB0 #B02A70 #B0AD2A #2AB06A
square
#2A2DB0 #B02A70 #B0AD2A #2AB06A
split-complementary
#2A2DB0 #B06A2A #70B02A
monochromatic
#12144D #1E207F #2A2DB0 #4548D3 #7678DE

Accessibility & contrast

On white

10.00
#2A2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2A2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2DB0
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2DB0#FFFFFF#000000##FFFFFF
##2A2DB01.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a2db0;
/* rgb */ color: rgb(42, 45, 176);
/* oklch */ color: oklch(39.9% 0.200 271.8);
Tailwind
colors: {
  custom: {
    50: '#7a67c9',
    500: '#2a2db0',
    950: '#000000',
  },
}
SCSS
$custom: #2a2db0;
$custom-light: #7a67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2db0",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 238.657,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.20004,
    "h": 271.8
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#2A2DB0
secondary
#C6C470
accent
#E143E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2A2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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