#2D249D#2D249D

#2D249D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.185 H 275.6°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2D249D
RGBrgb(45, 36, 157)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(71.3%, 77.1%, 0%, 38.4%)
CIE-LABlab(24.49, 42.72, -63.58)
CIE-LCHlch(24.49, 76.60, 303.90°)
OKLaboklab(36.76% 0.018 -0.1838)
OKLCHoklch(36.76% 0.185 275.6)
XYZxyz(7.7969, 4.2532, 32.3018)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D249D #949D24
analogous
#24579D #2D249D #69249D
triadic
#2D249D #9D2D24 #249D2D
tetradic
#2D249D #9D2457 #949D24 #249D69
square
#2D249D #9D2457 #949D24 #249D69
split-complementary
#2D249D #9D6924 #579D24
monochromatic
#100D39 #1F196B #2D249D #3B2FCF #6A61DB

Accessibility & contrast

On white

11.35
#2D249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D249D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D249D#FFFFFF#000000##FFFFFF
##2D249D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d249d;
/* rgb */ color: rgb(45, 36, 157);
/* oklch */ color: oklch(36.8% 0.185 275.6);
Tailwind
colors: {
  custom: {
    50: '#7861bb',
    500: '#2d249d',
    950: '#000000',
  },
}
SCSS
$custom: #2d249d;
$custom-light: #7861bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d249d",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 244.463,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.18469,
    "h": 275.6
  },
  "luminance": 0.04254
}

Semantic roles & 50–950 ramp

primary
#2D249D
secondary
#B8C05D
accent
#E642DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D249D

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

Preview Lab → · Contrast checker → · Palette generator →

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