#2D4593#2D4593

#2D4593 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.132 H 267.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2D4593
RGBrgb(45, 69, 147)
HSLhsl(226, 53%, 38%)
HSVhsv(226, 69%, 58%)
CMYKcmyk(69.4%, 53.1%, 0%, 42.4%)
CIE-LABlab(31.62, 18.10, -45.81)
CIE-LCHlch(31.62, 49.25, 291.56°)
OKLaboklab(41.72% -0.0057 -0.1316)
OKLCHoklch(41.72% 0.132 267.5)
XYZxyz(8.4750, 6.9199, 28.4871)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4593 #937B2D
analogous
#2D7893 #2D4593 #482D93
triadic
#2D4593 #932D45 #45932D
tetradic
#2D4593 #932D78 #937B2D #2D9348
square
#2D4593 #932D78 #937B2D #2D9348
split-complementary
#2D4593 #93482D #78932D
monochromatic
#101935 #1F2F64 #2D4593 #3B5BC2 #6982D1

Accessibility & contrast

On white

8.81
#2D4593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D4593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4593
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4593#FFFFFF#000000##FFFFFF
##2D45931.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F96
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d4593;
/* rgb */ color: rgb(45, 69, 147);
/* oklch */ color: oklch(41.7% 0.132 267.5);
Tailwind
colors: {
  custom: {
    50: '#7378b3',
    500: '#2d4593',
    950: '#000000',
  },
}
SCSS
$custom: #2d4593;
$custom-light: #7378b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4593",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 147
  },
  "hsl": {
    "h": 225.882,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41717,
    "c": 0.13169,
    "h": 267.5
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#2D4593
secondary
#B8A464
accent
#BA4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4593

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

Preview Lab → · Contrast checker → · Palette generator →

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