#2D199E#2D199E

#2D199E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.6% C 0.195 H 276.6°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2D199E
RGBrgb(45, 25, 158)
HSLhsl(249, 73%, 36%)
HSVhsv(249, 84%, 62%)
CMYKcmyk(71.5%, 84.2%, 0%, 38%)
CIE-LABlab(22.73, 48.48, -67.11)
CIE-LCHlch(22.73, 82.78, 305.84°)
OKLaboklab(35.57% 0.0225 -0.1939)
OKLCHoklch(35.57% 0.195 276.6)
XYZxyz(7.5994, 3.7211, 32.6589)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D199E #8A9E19
analogous
#19479E #2D199E #6F199E
triadic
#2D199E #9E2D19 #199E2D
tetradic
#2D199E #9E1947 #8A9E19 #199E6F
square
#2D199E #9E1947 #8A9E19 #199E6F
split-complementary
#2D199E #9E6F19 #479E19
monochromatic
#0F0834 #1E1169 #2D199E #3C21D3 #654EE3

Accessibility & contrast

On white

12.04
#2D199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D199E
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D199E#FFFFFF#000000##FFFFFF
##2D199E1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d199e;
/* rgb */ color: rgb(45, 25, 158);
/* oklch */ color: oklch(35.6% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#795bbc',
    500: '#2d199e',
    950: '#000000',
  },
}
SCSS
$custom: #2d199e;
$custom-light: #795bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d199e",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 249.023,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35567,
    "c": 0.19522,
    "h": 276.6
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#2D199E
secondary
#B3C54E
accent
#EF38D4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D199E

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

Preview Lab → · Contrast checker → · Palette generator →

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