#2D4F95#2D4F95

#2D4F95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.122 H 262.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2D4F95
RGBrgb(45, 79, 149)
HSLhsl(220, 54%, 38%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(69.8%, 47%, 0%, 41.6%)
CIE-LABlab(34.64, 12.14, -42.17)
CIE-LCHlch(34.64, 43.88, 286.06°)
OKLaboklab(44.06% -0.015 -0.1207)
OKLCHoklch(44.06% 0.122 262.9)
XYZxyz(9.3011, 8.3188, 29.5435)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F95 #95732D
analogous
#2D8395 #2D4F95 #3F2D95
triadic
#2D4F95 #952D4F #4F952D
tetradic
#2D4F95 #952D83 #95732D #2D953F
square
#2D4F95 #952D83 #95732D #2D953F
split-complementary
#2D4F95 #953F2D #83952D
monochromatic
#111D37 #1F3666 #2D4F95 #3B68C4 #6A8CD2

Accessibility & contrast

On white

7.88
#2D4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D4F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F95
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F95#FFFFFF#000000##FFFFFF
##2D4F951.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d4f95;
/* rgb */ color: rgb(45, 79, 149);
/* oklch */ color: oklch(44.1% 0.122 262.9);
Tailwind
colors: {
  custom: {
    50: '#737fb5',
    500: '#2d4f95',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f95;
$custom-light: #737fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f95",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 149
  },
  "hsl": {
    "h": 220.385,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4406,
    "c": 0.12164,
    "h": 262.9
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#2D4F95
secondary
#B99D65
accent
#AD4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2D4F95

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

Preview Lab → · Contrast checker → · Palette generator →

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