#2D3896#2D3896

#2D3896 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.153 H 272.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2D3896
RGBrgb(45, 56, 150)
HSLhsl(234, 54%, 38%)
HSVhsv(234, 70%, 59%)
CMYKcmyk(70%, 62.7%, 0%, 41.2%)
CIE-LABlab(28.35, 27.97, -52.96)
CIE-LCHlch(28.35, 59.89, 297.84°)
OKLaboklab(39.34% 0.0057 -0.1528)
OKLCHoklch(39.34% 0.153 272.2)
XYZxyz(7.9995, 5.5875, 29.5052)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3896 #968B2D
analogous
#2D6C96 #2D3896 #562D96
triadic
#2D3896 #962D38 #38962D
tetradic
#2D3896 #962D6C #968B2D #2D9656
square
#2D3896 #962D6C #968B2D #2D9656
split-complementary
#2D3896 #96562D #6C962D
monochromatic
#111538 #1F2667 #2D3896 #3C4AC4 #6B76D3

Accessibility & contrast

On white

9.92
#2D3896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2D3896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3896
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3896#FFFFFF#000000##FFFFFF
##2D38961.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3896;
/* rgb */ color: rgb(45, 56, 150);
/* oklch */ color: oklch(39.3% 0.153 272.2);
Tailwind
colors: {
  custom: {
    50: '#746eb6',
    500: '#2d3896',
    950: '#000000',
  },
}
SCSS
$custom: #2d3896;
$custom-light: #746eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3896",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 233.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.15289,
    "h": 272.2
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#2D3896
secondary
#B9B165
accent
#CE4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3896

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

Preview Lab → · Contrast checker → · Palette generator →

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