#2A199D#2A199D

#2A199D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.195 H 275.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2A199D
RGBrgb(42, 25, 157)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 62%)
CMYKcmyk(73.2%, 84.1%, 0%, 38.4%)
CIE-LABlab(22.38, 47.95, -67.08)
CIE-LCHlch(22.38, 82.46, 305.56°)
OKLaboklab(35.23% 0.0185 -0.1939)
OKLCHoklch(35.23% 0.195 275.5)
XYZxyz(7.3863, 3.6211, 32.2014)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A199D #8C9D19
analogous
#194A9D #2A199D #6C199D
triadic
#2A199D #9D2A19 #199D2A
tetradic
#2A199D #9D194A #8C9D19 #199D6C
square
#2A199D #9D194A #8C9D19 #199D6C
split-complementary
#2A199D #9D6C19 #4A9D19
monochromatic
#0E0833 #1C1168 #2A199D #3821D2 #614EE3

Accessibility & contrast

On white

12.18
#2A199D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2A199D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A199D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A199D#FFFFFF#000000##FFFFFF
##2A199D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA1
Deuteranopia (green-blind)
#00309B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a199d;
/* rgb */ color: rgb(42, 25, 157);
/* oklch */ color: oklch(35.2% 0.195 275.5);
Tailwind
colors: {
  custom: {
    50: '#775bbb',
    500: '#2a199d',
    950: '#000000',
  },
}
SCSS
$custom: #2a199d;
$custom-light: #775bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a199d",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 157
  },
  "hsl": {
    "h": 247.727,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35233,
    "c": 0.19479,
    "h": 275.5
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#2A199D
secondary
#B5C54D
accent
#EF39D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2A199D

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

Preview Lab → · Contrast checker → · Palette generator →

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