#2D4E93#2D4E93

#2D4E93 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.120 H 263.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4E93
RGBrgb(45, 78, 147)
HSLhsl(221, 53%, 38%)
HSVhsv(221, 69%, 58%)
CMYKcmyk(69.4%, 46.9%, 0%, 42.4%)
CIE-LABlab(34.22, 12.05, -41.63)
CIE-LCHlch(34.22, 43.34, 286.14°)
OKLaboklab(43.69% -0.0144 -0.1191)
OKLCHoklch(43.69% 0.12 263.1)
XYZxyz(9.0712, 8.1123, 28.6859)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E93 #93722D
analogous
#2D8193 #2D4E93 #3F2D93
triadic
#2D4E93 #932D4E #4E932D
tetradic
#2D4E93 #932D81 #93722D #2D933F
square
#2D4E93 #932D81 #93722D #2D933F
split-complementary
#2D4E93 #933F2D #81932D
monochromatic
#101C35 #1F3564 #2D4E93 #3B67C2 #698BD1

Accessibility & contrast

On white

8.01
#2D4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E93
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E93#FFFFFF#000000##FFFFFF
##2D4E931.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5596
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d4e93;
/* rgb */ color: rgb(45, 78, 147);
/* oklch */ color: oklch(43.7% 0.120 263.1);
Tailwind
colors: {
  custom: {
    50: '#727fb3',
    500: '#2d4e93',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e93;
$custom-light: #727fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e93",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 220.588,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.12001,
    "h": 263.1
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#2D4E93
secondary
#B89D64
accent
#AE4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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