#2D4594#2D4594

#2D4594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.133 H 267.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D4594
RGBrgb(45, 69, 148)
HSLhsl(226, 53%, 38%)
HSVhsv(226, 70%, 58%)
CMYKcmyk(69.6%, 53.4%, 0%, 42%)
CIE-LABlab(31.70, 18.48, -46.30)
CIE-LCHlch(31.70, 49.85, 291.76°)
OKLaboklab(41.8% -0.0056 -0.133)
OKLCHoklch(41.8% 0.133 267.6)
XYZxyz(8.5538, 6.9514, 28.9022)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4594 #947C2D
analogous
#2D7994 #2D4594 #482D94
triadic
#2D4594 #942D45 #45942D
tetradic
#2D4594 #942D79 #947C2D #2D9448
square
#2D4594 #942D79 #947C2D #2D9448
split-complementary
#2D4594 #94482D #79942D
monochromatic
#101936 #1F2F65 #2D4594 #3B5BC3 #6A82D2

Accessibility & contrast

On white

8.79
#2D4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D4594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4594
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4594#FFFFFF#000000##FFFFFF
##2D45941.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F97
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4594;
/* rgb */ color: rgb(45, 69, 148);
/* oklch */ color: oklch(41.8% 0.133 267.6);
Tailwind
colors: {
  custom: {
    50: '#7378b4',
    500: '#2d4594',
    950: '#000000',
  },
}
SCSS
$custom: #2d4594;
$custom-light: #7378b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4594",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 226.019,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41795,
    "c": 0.13315,
    "h": 267.6
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4594

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

Preview Lab → · Contrast checker → · Palette generator →

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