#2D3D8D#2D3D8D

#2D3D8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.134 H 270.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2D3D8D
RGBrgb(45, 61, 141)
HSLhsl(230, 52%, 36%)
HSVhsv(230, 68%, 55%)
CMYKcmyk(68.1%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.95, 21.26, -46.45)
CIE-LCHlch(28.95, 51.09, 294.59°)
OKLaboklab(39.56% 0.0013 -0.1336)
OKLCHoklch(39.56% 0.134 270.6)
XYZxyz(7.5570, 5.8178, 25.9188)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D8D #8D7D2D
analogous
#2D6D8D #2D3D8D #4D2D8D
triadic
#2D3D8D #8D2D3D #3D8D2D
tetradic
#2D3D8D #8D2D6D #8D7D2D #2D8D4D
square
#2D3D8D #8D2D6D #8D7D2D #2D8D4D
split-complementary
#2D3D8D #8D4D2D #6D8D2D
monochromatic
#0F1530 #1E295F #2D3D8D #3C51BB #6678CE

Accessibility & contrast

On white

9.71
#2D3D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D3D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D8D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D8D#FFFFFF#000000##FFFFFF
##2D3D8D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3d8d;
/* rgb */ color: rgb(45, 61, 141);
/* oklch */ color: oklch(39.6% 0.134 270.6);
Tailwind
colors: {
  custom: {
    50: '#7272af',
    500: '#2d3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d8d;
$custom-light: #7272af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d8d",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 230,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.13361,
    "h": 270.6
  },
  "luminance": 0.05818
}

Semantic roles & 50–950 ramp

primary
#2D3D8D
secondary
#B5A761
accent
#C34DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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