#2A199F#2A199F

#2A199F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.197 H 275.2°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2A199F
RGBrgb(42, 25, 159)
HSLhsl(248, 73%, 36%)
HSVhsv(248, 84%, 62%)
CMYKcmyk(73.6%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.62, 48.55, -67.91)
CIE-LCHlch(22.62, 83.48, 305.57°)
OKLaboklab(35.47% 0.0179 -0.1963)
OKLCHoklch(35.47% 0.197 275.2)
XYZxyz(7.5584, 3.6900, 33.1081)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A199F #8E9F19
analogous
#194B9F #2A199F #6D199F
triadic
#2A199F #9F2A19 #199F2A
tetradic
#2A199F #9F194B #8E9F19 #199F6D
square
#2A199F #9F194B #8E9F19 #199F6D
split-complementary
#2A199F #9F6D19 #4B9F19
monochromatic
#0E0835 #1C116A #2A199F #3821D4 #624FE3

Accessibility & contrast

On white

12.08
#2A199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A199F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A199F#FFFFFF#000000##FFFFFF
##2A199F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a199f;
/* rgb */ color: rgb(42, 25, 159);
/* oklch */ color: oklch(35.5% 0.197 275.2);
Tailwind
colors: {
  custom: {
    50: '#785bbd',
    500: '#2a199f',
    950: '#000000',
  },
}
SCSS
$custom: #2a199f;
$custom-light: #785bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a199f",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 247.612,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35469,
    "c": 0.19711,
    "h": 275.2
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#2A199F
secondary
#B6C64E
accent
#F038D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2A199F

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

Preview Lab → · Contrast checker → · Palette generator →

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