#2D249C#2D249C

#2D249C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.183 H 275.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#2D249C
RGBrgb(45, 36, 156)
HSLhsl(245, 63%, 38%)
HSVhsv(245, 77%, 61%)
CMYKcmyk(71.2%, 76.9%, 0%, 38.8%)
CIE-LABlab(24.38, 42.39, -63.14)
CIE-LCHlch(24.38, 76.05, 303.88°)
OKLaboklab(36.65% 0.0182 -0.1825)
OKLCHoklch(36.65% 0.183 275.7)
XYZxyz(7.7118, 4.2192, 31.8540)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D249C #939C24
analogous
#24579C #2D249C #69249C
triadic
#2D249C #9C2D24 #249C2D
tetradic
#2D249C #9C2457 #939C24 #249C69
square
#2D249C #9C2457 #939C24 #249C69
split-complementary
#2D249C #9C6924 #579C24
monochromatic
#100D39 #1F196A #2D249C #3B2FCE #6960DA

Accessibility & contrast

On white

11.39
#2D249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2D249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D249C
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D249C#FFFFFF#000000##FFFFFF
##2D249C1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d249c;
/* rgb */ color: rgb(45, 36, 156);
/* oklch */ color: oklch(36.7% 0.183 275.7);
Tailwind
colors: {
  custom: {
    50: '#7761ba',
    500: '#2d249c',
    950: '#000000',
  },
}
SCSS
$custom: #2d249c;
$custom-light: #7761ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d249c",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 244.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36654,
    "c": 0.18346,
    "h": 275.7
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#2D249C
secondary
#B8BF5C
accent
#E642D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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