#2D4393#2D4393

#2D4393 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.134 H 268.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2D4393
RGBrgb(45, 67, 147)
HSLhsl(227, 53%, 38%)
HSVhsv(227, 69%, 58%)
CMYKcmyk(69.4%, 54.4%, 0%, 42.4%)
CIE-LABlab(31.06, 19.45, -46.71)
CIE-LCHlch(31.06, 50.60, 292.61°)
OKLaboklab(41.29% -0.0038 -0.1343)
OKLCHoklch(41.29% 0.134 268.4)
XYZxyz(8.3540, 6.6780, 28.4468)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4393 #937D2D
analogous
#2D7693 #2D4393 #4A2D93
triadic
#2D4393 #932D43 #43932D
tetradic
#2D4393 #932D76 #937D2D #2D934A
square
#2D4393 #932D76 #937D2D #2D934A
split-complementary
#2D4393 #934A2D #76932D
monochromatic
#101835 #1F2E64 #2D4393 #3B58C2 #6980D1

Accessibility & contrast

On white

8.99
#2D4393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D4393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4393
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4393#FFFFFF#000000##FFFFFF
##2D43931.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E96
Deuteranopia (green-blind)
#004591
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4393;
/* rgb */ color: rgb(45, 67, 147);
/* oklch */ color: oklch(41.3% 0.134 268.4);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2d4393',
    950: '#000000',
  },
}
SCSS
$custom: #2d4393;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4393",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 227.059,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41293,
    "c": 0.13433,
    "h": 268.4
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#2D4393
secondary
#B8A664
accent
#BD4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4393

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

Preview Lab → · Contrast checker → · Palette generator →

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