#2D4995#2D4995

#2D4995 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.129 H 265.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2D4995
RGBrgb(45, 73, 149)
HSLhsl(224, 54%, 38%)
HSVhsv(224, 70%, 58%)
CMYKcmyk(69.8%, 51%, 0%, 41.6%)
CIE-LABlab(32.90, 16.16, -44.96)
CIE-LCHlch(32.90, 47.78, 289.77°)
OKLaboklab(42.73% -0.0092 -0.129)
OKLCHoklch(42.73% 0.129 265.9)
XYZxyz(8.8877, 7.4920, 29.4057)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4995 #95792D
analogous
#2D7D95 #2D4995 #452D95
triadic
#2D4995 #952D49 #49952D
tetradic
#2D4995 #952D7D #95792D #2D9545
square
#2D4995 #952D7D #95792D #2D9545
split-complementary
#2D4995 #95452D #7D952D
monochromatic
#111B37 #1F3266 #2D4995 #3B60C4 #6A86D2

Accessibility & contrast

On white

8.40
#2D4995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D4995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4995
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4995#FFFFFF#000000##FFFFFF
##2D49951.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4995;
/* rgb */ color: rgb(45, 73, 149);
/* oklch */ color: oklch(42.7% 0.129 265.9);
Tailwind
colors: {
  custom: {
    50: '#737bb5',
    500: '#2d4995',
    950: '#000000',
  },
}
SCSS
$custom: #2d4995;
$custom-light: #737bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4995",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 223.846,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.12936,
    "h": 265.9
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#2D4995
secondary
#B9A265
accent
#B64BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4995

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

Preview Lab → · Contrast checker → · Palette generator →

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