#2D3C8D#2D3C8D

#2D3C8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.135 H 271.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2D3C8D
RGBrgb(45, 60, 141)
HSLhsl(231, 52%, 36%)
HSVhsv(231, 68%, 55%)
CMYKcmyk(68.1%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.67, 21.94, -46.90)
CIE-LCHlch(28.67, 51.78, 295.07°)
OKLaboklab(39.35% 0.0023 -0.1349)
OKLCHoklch(39.35% 0.135 271)
XYZxyz(7.5041, 5.7120, 25.9012)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C8D #8D7E2D
analogous
#2D6C8D #2D3C8D #4E2D8D
triadic
#2D3C8D #8D2D3C #3C8D2D
tetradic
#2D3C8D #8D2D6C #8D7E2D #2D8D4E
square
#2D3C8D #8D2D6C #8D7E2D #2D8D4E
split-complementary
#2D3C8D #8D4E2D #6C8D2D
monochromatic
#0F1530 #1E285F #2D3C8D #3C50BB #6676CE

Accessibility & contrast

On white

9.80
#2D3C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D3C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C8D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C8D#FFFFFF#000000##FFFFFF
##2D3C8D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3c8d;
/* rgb */ color: rgb(45, 60, 141);
/* oklch */ color: oklch(39.4% 0.135 271.0);
Tailwind
colors: {
  custom: {
    50: '#7271af',
    500: '#2d3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c8d;
$custom-light: #7271af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c8d",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 230.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.13494,
    "h": 271
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#2D3C8D
secondary
#B5A861
accent
#C54DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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