#2D249B#2D249B

#2D249B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.182 H 275.8°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2D249B
RGBrgb(45, 36, 155)
HSLhsl(245, 62%, 37%)
HSVhsv(245, 77%, 61%)
CMYKcmyk(71%, 76.8%, 0%, 39.2%)
CIE-LABlab(24.28, 42.07, -62.71)
CIE-LCHlch(24.28, 75.51, 303.85°)
OKLaboklab(36.55% 0.0184 -0.1813)
OKLCHoklch(36.55% 0.182 275.8)
XYZxyz(7.6275, 4.1855, 31.4099)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D249B #929B24
analogous
#24569B #2D249B #69249B
triadic
#2D249B #9B2D24 #249B2D
tetradic
#2D249B #9B2456 #929B24 #249B69
square
#2D249B #9B2456 #929B24 #249B69
split-complementary
#2D249B #9B6924 #569B24
monochromatic
#100D38 #1F1869 #2D249B #3B30CD #695FDA

Accessibility & contrast

On white

11.43
#2D249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D249B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D249B#FFFFFF#000000##FFFFFF
##2D249B1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d249b;
/* rgb */ color: rgb(45, 36, 155);
/* oklch */ color: oklch(36.5% 0.182 275.8);
Tailwind
colors: {
  custom: {
    50: '#7761ba',
    500: '#2d249b',
    950: '#000000',
  },
}
SCSS
$custom: #2d249b;
$custom-light: #7761ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d249b",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 244.538,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36546,
    "c": 0.18223,
    "h": 275.8
  },
  "luminance": 0.04186
}

Semantic roles & 50–950 ramp

primary
#2D249B
secondary
#B7BF5C
accent
#E542D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D249B

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

Preview Lab → · Contrast checker → · Palette generator →

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