#2D4E96#2D4E96

#2D4E96 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.124 H 263.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2D4E96
RGBrgb(45, 78, 150)
HSLhsl(221, 54%, 38%)
HSVhsv(221, 70%, 59%)
CMYKcmyk(70%, 48%, 0%, 41.2%)
CIE-LABlab(34.41, 13.19, -43.14)
CIE-LCHlch(34.41, 45.11, 287.00°)
OKLaboklab(43.91% -0.0139 -0.1236)
OKLCHoklch(43.91% 0.124 263.6)
XYZxyz(9.3097, 8.2077, 29.9419)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E96 #96752D
analogous
#2D8296 #2D4E96 #402D96
triadic
#2D4E96 #962D4E #4E962D
tetradic
#2D4E96 #962D82 #96752D #2D9640
square
#2D4E96 #962D82 #96752D #2D9640
split-complementary
#2D4E96 #96402D #82962D
monochromatic
#111D38 #1F3667 #2D4E96 #3C67C4 #6B8BD3

Accessibility & contrast

On white

7.95
#2D4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2D4E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E96
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E96#FFFFFF#000000##FFFFFF
##2D4E961.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#114C95
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4e96;
/* rgb */ color: rgb(45, 78, 150);
/* oklch */ color: oklch(43.9% 0.124 263.6);
Tailwind
colors: {
  custom: {
    50: '#737fb5',
    500: '#2d4e96',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e96;
$custom-light: #737fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e96",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 221.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.12436,
    "h": 263.6
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#2D4E96
secondary
#B99F65
accent
#AF4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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