#2D3F96#2D3F96

#2D3F96 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.144 H 270.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2D3F96
RGBrgb(45, 63, 150)
HSLhsl(230, 54%, 38%)
HSVhsv(230, 70%, 59%)
CMYKcmyk(70%, 58%, 0%, 41.2%)
CIE-LABlab(30.19, 23.29, -49.96)
CIE-LCHlch(30.19, 55.12, 294.99°)
OKLaboklab(40.71% -0.0001 -0.1439)
OKLCHoklch(40.71% 0.144 270)
XYZxyz(8.3628, 6.3141, 29.6263)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F96 #96842D
analogous
#2D7396 #2D3F96 #4F2D96
triadic
#2D3F96 #962D3F #3F962D
tetradic
#2D3F96 #962D73 #96842D #2D964F
square
#2D3F96 #962D73 #96842D #2D964F
split-complementary
#2D3F96 #964F2D #73962D
monochromatic
#111738 #1F2B67 #2D3F96 #3C53C4 #6B7DD3

Accessibility & contrast

On white

9.28
#2D3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D3F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F96
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F96#FFFFFF#000000##FFFFFF
##2D3F961.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d3f96;
/* rgb */ color: rgb(45, 63, 150);
/* oklch */ color: oklch(40.7% 0.144 270.0);
Tailwind
colors: {
  custom: {
    50: '#7473b6',
    500: '#2d3f96',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f96;
$custom-light: #7473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f96",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 229.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.14388,
    "h": 270
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#2D3F96
secondary
#B9AB65
accent
#C44BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3F96

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

Preview Lab → · Contrast checker → · Palette generator →

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