#2D4E95#2D4E95

#2D4E95 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.123 H 263.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2D4E95
RGBrgb(45, 78, 149)
HSLhsl(221, 54%, 38%)
HSVhsv(221, 70%, 58%)
CMYKcmyk(69.8%, 47.7%, 0%, 41.6%)
CIE-LABlab(34.35, 12.81, -42.64)
CIE-LCHlch(34.35, 44.52, 286.72°)
OKLaboklab(43.84% -0.014 -0.1221)
OKLCHoklch(43.84% 0.123 263.4)
XYZxyz(9.2295, 8.1757, 29.5196)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E95 #95742D
analogous
#2D8295 #2D4E95 #402D95
triadic
#2D4E95 #952D4E #4E952D
tetradic
#2D4E95 #952D82 #95742D #2D9540
square
#2D4E95 #952D82 #95742D #2D9540
split-complementary
#2D4E95 #95402D #82952D
monochromatic
#111D37 #1F3566 #2D4E95 #3B67C4 #6A8BD2

Accessibility & contrast

On white

7.97
#2D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E95
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E95#FFFFFF#000000##FFFFFF
##2D4E951.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#134C94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4e95;
/* rgb */ color: rgb(45, 78, 149);
/* oklch */ color: oklch(43.8% 0.123 263.4);
Tailwind
colors: {
  custom: {
    50: '#737fb5',
    500: '#2d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e95;
$custom-light: #737fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e95",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 220.962,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.12292,
    "h": 263.4
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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