#2D4A96#2D4A96

#2D4A96 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.130 H 265.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2D4A96
RGBrgb(45, 74, 150)
HSLhsl(223, 54%, 38%)
HSVhsv(223, 70%, 59%)
CMYKcmyk(70%, 50.7%, 0%, 41.2%)
CIE-LABlab(33.26, 15.87, -45.00)
CIE-LCHlch(33.26, 47.71, 289.43°)
OKLaboklab(43.03% -0.0101 -0.1291)
OKLCHoklch(43.03% 0.13 265.5)
XYZxyz(9.0341, 7.6566, 29.8500)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A96 #96792D
analogous
#2D7E96 #2D4A96 #452D96
triadic
#2D4A96 #962D4A #4A962D
tetradic
#2D4A96 #962D7E #96792D #2D9645
square
#2D4A96 #962D7E #96792D #2D9645
split-complementary
#2D4A96 #96452D #7E962D
monochromatic
#111C38 #1F3367 #2D4A96 #3C62C4 #6B87D3

Accessibility & contrast

On white

8.30
#2D4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D4A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A96
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A96#FFFFFF#000000##FFFFFF
##2D4A961.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4a96;
/* rgb */ color: rgb(45, 74, 150);
/* oklch */ color: oklch(43.0% 0.130 265.5);
Tailwind
colors: {
  custom: {
    50: '#737cb5',
    500: '#2d4a96',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a96;
$custom-light: #737cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a96",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 223.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.12951,
    "h": 265.5
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#2D4A96
secondary
#B9A265
accent
#B54BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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