#2D245C#2D245C

#2D245C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.4% C 0.096 H 286.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2D245C
RGBrgb(45, 36, 92)
HSLhsl(250, 44%, 25%)
HSVhsv(250, 61%, 36%)
CMYKcmyk(51.1%, 60.9%, 0%, 63.9%)
CIE-LABlab(18.33, 20.63, -32.32)
CIE-LCHlch(18.33, 38.34, 302.54°)
OKLaboklab(30.45% 0.0275 -0.0923)
OKLCHoklch(30.45% 0.096 286.6)
XYZxyz(3.6443, 2.5922, 10.4315)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D245C #535C24
analogous
#24375C #2D245C #49245C
triadic
#2D245C #5C2D24 #245C2D
tetradic
#2D245C #5C2437 #535C24 #245C49
square
#2D245C #5C2437 #535C24 #245C49
split-complementary
#2D245C #5C4924 #375C24
monochromatic
#0B0916 #171330 #2D245C #433588 #5846B4

Accessibility & contrast

On white

13.83
#2D245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2D245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D245C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D245C#FFFFFF#000000##FFFFFF
##2D245C1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5E
Deuteranopia (green-blind)
#012B5B
Tritanopia (blue-blind)
#1D313C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d245c;
/* rgb */ color: rgb(45, 36, 92);
/* oklch */ color: oklch(30.4% 0.096 286.6);
Tailwind
colors: {
  custom: {
    50: '#6a5f8b',
    500: '#2d245c',
    950: '#000000',
  },
}
SCSS
$custom: #2d245c;
$custom-light: #6a5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d245c",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 249.643,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30446,
    "c": 0.09627,
    "h": 286.6
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#2D245C
secondary
#85904C
accent
#D354BF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2D245C

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

Preview Lab → · Contrast checker → · Palette generator →

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