#2D246D#2D246D

#2D246D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.121 H 282.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#2D246D
RGBrgb(45, 36, 109)
HSLhsl(247, 50%, 28%)
HSVhsv(247, 67%, 43%)
CMYKcmyk(58.7%, 67%, 0%, 57.3%)
CIE-LABlab(19.73, 26.48, -41.21)
CIE-LCHlch(19.73, 48.98, 302.73°)
OKLaboklab(31.92% 0.0266 -0.1184)
OKLCHoklch(31.92% 0.121 282.7)
XYZxyz(4.4725, 2.9235, 14.7936)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D246D #646D24
analogous
#243F6D #2D246D #51246D
triadic
#2D246D #6D2D24 #246D2D
tetradic
#2D246D #6D243F #646D24 #246D51
square
#2D246D #6D243F #646D24 #246D51
split-complementary
#2D246D #6D5124 #3F6D24
monochromatic
#090817 #1A153F #2D246D #40339B #5849C3

Accessibility & contrast

On white

13.25
#2D246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2D246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D246D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D246D#FFFFFF#000000##FFFFFF
##2D246D1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#0E3645
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d246d;
/* rgb */ color: rgb(45, 36, 109);
/* oklch */ color: oklch(31.9% 0.121 282.7);
Tailwind
colors: {
  custom: {
    50: '#6d5f97',
    500: '#2d246d',
    950: '#000000',
  },
}
SCSS
$custom: #2d246d;
$custom-light: #6d5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2d246d",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 247.397,
    "s": 50.345,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31919,
    "c": 0.12134,
    "h": 282.7
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#2D246D
secondary
#96A04D
accent
#DA4EC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #2D246D

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

Preview Lab → · Contrast checker → · Palette generator →

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