#2D4396#2D4396

#2D4396 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.139 H 268.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2D4396
RGBrgb(45, 67, 150)
HSLhsl(227, 54%, 38%)
HSVhsv(227, 70%, 59%)
CMYKcmyk(70%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.29, 20.59, -48.18)
CIE-LCHlch(31.29, 52.40, 293.14°)
OKLaboklab(41.53% -0.0036 -0.1386)
OKLCHoklch(41.53% 0.139 268.5)
XYZxyz(8.5925, 6.7734, 29.7028)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4396 #96802D
analogous
#2D7796 #2D4396 #4C2D96
triadic
#2D4396 #962D43 #43962D
tetradic
#2D4396 #962D77 #96802D #2D964C
square
#2D4396 #962D77 #96802D #2D964C
split-complementary
#2D4396 #964C2D #77962D
monochromatic
#111938 #1F2E67 #2D4396 #3C58C4 #6B81D3

Accessibility & contrast

On white

8.92
#2D4396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D4396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4396
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4396#FFFFFF#000000##FFFFFF
##2D43961.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4396;
/* rgb */ color: rgb(45, 67, 150);
/* oklch */ color: oklch(41.5% 0.139 268.5);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2d4396',
    950: '#000000',
  },
}
SCSS
$custom: #2d4396;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4396",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 227.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.13865,
    "h": 268.5
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#2D4396
secondary
#B9A865
accent
#BE4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4396

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

Preview Lab → · Contrast checker → · Palette generator →

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