#2D206F#2D206F

#2D206F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.130 H 283.6°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#2D206F
RGBrgb(45, 32, 111)
HSLhsl(250, 55%, 28%)
HSVhsv(250, 71%, 44%)
CMYKcmyk(59.5%, 71.2%, 0%, 56.5%)
CIE-LABlab(18.96, 29.73, -43.76)
CIE-LCHlch(18.96, 52.91, 304.19°)
OKLaboklab(31.42% 0.0304 -0.1259)
OKLCHoklch(31.42% 0.13 283.6)
XYZxyz(4.4671, 2.7383, 15.3290)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D206F #626F20
analogous
#203B6F #2D206F #54206F
triadic
#2D206F #6F2D20 #206F2D
tetradic
#2D206F #6F203B #626F20 #206F54
square
#2D206F #6F203B #626F20 #206F54
split-complementary
#2D206F #6F5420 #3B6F20
monochromatic
#0A0718 #1A123F #2D206F #402E9F #5741C8

Accessibility & contrast

On white

13.57
#2D206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D206F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D206F#FFFFFF#000000##FFFFFF
##2D206F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#0B3444
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d206f;
/* rgb */ color: rgb(45, 32, 111);
/* oklch */ color: oklch(31.4% 0.130 283.6);
Tailwind
colors: {
  custom: {
    50: '#6e5c99',
    500: '#2d206f',
    950: '#000000',
  },
}
SCSS
$custom: #2d206f;
$custom-light: #6e5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d206f",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 249.873,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.1295,
    "h": 283.6
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#2D206F
secondary
#94A348
accent
#DF49C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #2D206F

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

Preview Lab → · Contrast checker → · Palette generator →

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