#2D4793#2D4793

#2D4793 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.129 H 266.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2D4793
RGBrgb(45, 71, 147)
HSLhsl(225, 53%, 38%)
HSVhsv(225, 69%, 58%)
CMYKcmyk(69.4%, 51.7%, 0%, 42.4%)
CIE-LABlab(32.19, 16.75, -44.89)
CIE-LCHlch(32.19, 47.91, 290.46°)
OKLaboklab(42.15% -0.0076 -0.1288)
OKLCHoklch(42.15% 0.129 266.6)
XYZxyz(8.6001, 7.1701, 28.5288)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4793 #93792D
analogous
#2D7A93 #2D4793 #462D93
triadic
#2D4793 #932D47 #47932D
tetradic
#2D4793 #932D7A #93792D #2D9346
square
#2D4793 #932D7A #93792D #2D9346
split-complementary
#2D4793 #93462D #7A932D
monochromatic
#101A35 #1F3064 #2D4793 #3B5EC2 #6984D1

Accessibility & contrast

On white

8.63
#2D4793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D4793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4793
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4793#FFFFFF#000000##FFFFFF
##2D47931.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5196
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4793;
/* rgb */ color: rgb(45, 71, 147);
/* oklch */ color: oklch(42.1% 0.129 266.6);
Tailwind
colors: {
  custom: {
    50: '#7279b3',
    500: '#2d4793',
    950: '#000000',
  },
}
SCSS
$custom: #2d4793;
$custom-light: #7279b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4793",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 224.706,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42148,
    "c": 0.12907,
    "h": 266.6
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#2D4793
secondary
#B8A364
accent
#B84BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4793

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

Preview Lab → · Contrast checker → · Palette generator →

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