#2D4595#2D4595

#2D4595 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.135 H 267.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2D4595
RGBrgb(45, 69, 149)
HSLhsl(226, 54%, 38%)
HSVhsv(226, 70%, 58%)
CMYKcmyk(69.8%, 53.7%, 0%, 41.6%)
CIE-LABlab(31.77, 18.86, -46.79)
CIE-LCHlch(31.77, 50.45, 291.95°)
OKLaboklab(41.87% -0.0055 -0.1345)
OKLCHoklch(41.87% 0.135 267.7)
XYZxyz(8.6333, 6.9832, 29.3209)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4595 #957D2D
analogous
#2D7995 #2D4595 #492D95
triadic
#2D4595 #952D45 #45952D
tetradic
#2D4595 #952D79 #957D2D #2D9549
square
#2D4595 #952D79 #957D2D #2D9549
split-complementary
#2D4595 #95492D #79952D
monochromatic
#111937 #1F2F66 #2D4595 #3B5BC4 #6A82D2

Accessibility & contrast

On white

8.76
#2D4595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2D4595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4595
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4595#FFFFFF#000000##FFFFFF
##2D45951.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4595;
/* rgb */ color: rgb(45, 69, 149);
/* oklch */ color: oklch(41.9% 0.135 267.7);
Tailwind
colors: {
  custom: {
    50: '#7378b5',
    500: '#2d4595',
    950: '#000000',
  },
}
SCSS
$custom: #2d4595;
$custom-light: #7378b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4595",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 149
  },
  "hsl": {
    "h": 226.154,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.13459,
    "h": 267.7
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#2D4595
secondary
#B9A665
accent
#BB4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4595

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

Preview Lab → · Contrast checker → · Palette generator →

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