#2D247D#2D247D

#2D247D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.144 H 279.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2D247D
RGBrgb(45, 36, 125)
HSLhsl(246, 55%, 32%)
HSVhsv(246, 71%, 49%)
CMYKcmyk(64%, 71.2%, 0%, 51%)
CIE-LABlab(21.21, 32.00, -49.06)
CIE-LCHlch(21.21, 58.58, 303.11°)
OKLaboklab(33.44% 0.0245 -0.1414)
OKLCHoklch(33.44% 0.144 279.8)
XYZxyz(5.4136, 3.2999, 19.7497)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D247D #747D24
analogous
#24487D #2D247D #5A247D
triadic
#2D247D #7D2D24 #247D2D
tetradic
#2D247D #7D2448 #747D24 #247D5A
square
#2D247D #7D2448 #747D24 #247D5A
split-complementary
#2D247D #7D5A24 #487D24
monochromatic
#0B091E #1C164D #2D247D #3E32AD #5C4FCC

Accessibility & contrast

On white

12.65
#2D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D247D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D247D#FFFFFF#000000##FFFFFF
##2D247D1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d247d;
/* rgb */ color: rgb(45, 36, 125);
/* oklch */ color: oklch(33.4% 0.144 279.8);
Tailwind
colors: {
  custom: {
    50: '#7060a4',
    500: '#2d247d',
    950: '#000000',
  },
}
SCSS
$custom: #2d247d;
$custom-light: #7060a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d247d",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 246.067,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33439,
    "c": 0.14354,
    "h": 279.8
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#2D247D
secondary
#A5AF4D
accent
#DF49CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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