#2D207B#2D207B

#2D207B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.146 H 281.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2D207B
RGBrgb(45, 32, 123)
HSLhsl(249, 59%, 30%)
HSVhsv(249, 74%, 48%)
CMYKcmyk(63.4%, 74%, 0%, 51.8%)
CIE-LABlab(20.13, 33.76, -49.56)
CIE-LCHlch(20.13, 59.97, 304.26°)
OKLaboklab(32.61% 0.0281 -0.1429)
OKLCHoklch(32.61% 0.146 281.1)
XYZxyz(5.1727, 3.0206, 19.0455)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D207B #6E7B20
analogous
#20417B #2D207B #5A207B
triadic
#2D207B #7B2D20 #207B2D
tetradic
#2D207B #7B2041 #6E7B20 #207B5A
square
#2D207B #7B2041 #6E7B20 #207B5A
split-complementary
#2D207B #7B5A20 #417B20
monochromatic
#09071A #1B134A #2D207B #3F2DAC #5A46CF

Accessibility & contrast

On white

13.09
#2D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D207B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D207B#FFFFFF#000000##FFFFFF
##2D207B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002D79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d207b;
/* rgb */ color: rgb(45, 32, 123);
/* oklch */ color: oklch(32.6% 0.146 281.1);
Tailwind
colors: {
  custom: {
    50: '#705da2',
    500: '#2d207b',
    950: '#000000',
  },
}
SCSS
$custom: #2d207b;
$custom-light: #705da2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d207b",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 248.571,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.14564,
    "h": 281.1
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#2D207B
secondary
#A0AE49
accent
#E246CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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