#2D249E#2D249E

#2D249E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.186 H 275.5°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2D249E
RGBrgb(45, 36, 158)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(71.5%, 77.2%, 0%, 38%)
CIE-LABlab(24.60, 43.05, -64.01)
CIE-LCHlch(24.60, 77.14, 303.92°)
OKLaboklab(36.87% 0.0178 -0.1851)
OKLCHoklch(36.87% 0.186 275.5)
XYZxyz(7.8826, 4.2875, 32.7533)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D249E #959E24
analogous
#24589E #2D249E #6A249E
triadic
#2D249E #9E2D24 #249E2D
tetradic
#2D249E #9E2458 #959E24 #249E6A
square
#2D249E #9E2458 #959E24 #249E6A
split-complementary
#2D249E #9E6A24 #589E24
monochromatic
#110D3A #1F196C #2D249E #3B2FD0 #6A61DB

Accessibility & contrast

On white

11.30
#2D249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D249E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D249E#FFFFFF#000000##FFFFFF
##2D249E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d249e;
/* rgb */ color: rgb(45, 36, 158);
/* oklch */ color: oklch(36.9% 0.186 275.5);
Tailwind
colors: {
  custom: {
    50: '#7861bc',
    500: '#2d249e',
    950: '#000000',
  },
}
SCSS
$custom: #2d249e;
$custom-light: #7861bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d249e",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 244.426,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36871,
    "c": 0.18591,
    "h": 275.5
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#2D249E
secondary
#B9C05E
accent
#E642DA
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D249E

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

Preview Lab → · Contrast checker → · Palette generator →

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