#2D199C#2D199C

#2D199C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.193 H 276.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2D199C
RGBrgb(45, 25, 156)
HSLhsl(249, 72%, 35%)
HSVhsv(249, 84%, 61%)
CMYKcmyk(71.2%, 84%, 0%, 38.8%)
CIE-LABlab(22.49, 47.88, -66.28)
CIE-LCHlch(22.49, 81.76, 305.84°)
OKLaboklab(35.33% 0.0232 -0.1915)
OKLCHoklch(35.33% 0.193 276.9)
XYZxyz(7.4286, 3.6528, 31.7596)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D199C #889C19
analogous
#19479C #2D199C #6E199C
triadic
#2D199C #9C2D19 #199C2D
tetradic
#2D199C #9C1947 #889C19 #199C6E
square
#2D199C #9C1947 #889C19 #199C6E
split-complementary
#2D199C #9C6E19 #479C19
monochromatic
#0F0833 #1E1167 #2D199C #3C21D1 #644DE2

Accessibility & contrast

On white

12.13
#2D199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2D199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D199C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D199C#FFFFFF#000000##FFFFFF
##2D199C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA0
Deuteranopia (green-blind)
#00309A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d199c;
/* rgb */ color: rgb(45, 25, 156);
/* oklch */ color: oklch(35.3% 0.193 276.9);
Tailwind
colors: {
  custom: {
    50: '#785bbb',
    500: '#2d199c',
    950: '#000000',
  },
}
SCSS
$custom: #2d199c;
$custom-light: #785bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d199c",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 249.16,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35334,
    "c": 0.1929,
    "h": 276.9
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#2D199C
secondary
#B2C44C
accent
#EF39D3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2D199C

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

Preview Lab → · Contrast checker → · Palette generator →

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