#2D3D96#2D3D96

#2D3D96 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.146 H 270.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#2D3D96
RGBrgb(45, 61, 150)
HSLhsl(231, 54%, 38%)
HSVhsv(231, 70%, 59%)
CMYKcmyk(70%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.65, 24.63, -50.83)
CIE-LCHlch(29.65, 56.48, 295.85°)
OKLaboklab(40.31% 0.0016 -0.1465)
OKLCHoklch(40.31% 0.146 270.6)
XYZxyz(8.2541, 6.0966, 29.5900)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D96 #96862D
analogous
#2D7196 #2D3D96 #512D96
triadic
#2D3D96 #962D3D #3D962D
tetradic
#2D3D96 #962D71 #96862D #2D9651
square
#2D3D96 #962D71 #96862D #2D9651
split-complementary
#2D3D96 #96512D #71962D
monochromatic
#111738 #1F2A67 #2D3D96 #3C51C4 #6B7BD3

Accessibility & contrast

On white

9.46
#2D3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D3D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D96
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D96#FFFFFF#000000##FFFFFF
##2D3D961.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3d96;
/* rgb */ color: rgb(45, 61, 150);
/* oklch */ color: oklch(40.3% 0.146 270.6);
Tailwind
colors: {
  custom: {
    50: '#7472b6',
    500: '#2d3d96',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d96;
$custom-light: #7472b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d96",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 230.857,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.14648,
    "h": 270.6
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#2D3D96
secondary
#B9AD65
accent
#C74BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3D96

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

Preview Lab → · Contrast checker → · Palette generator →

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