#2D4193#2D4193

#2D4193 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.137 H 269.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2D4193
RGBrgb(45, 65, 147)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(69.4%, 55.8%, 0%, 42.4%)
CIE-LABlab(30.51, 20.81, -47.61)
CIE-LCHlch(30.51, 51.96, 293.60°)
OKLaboklab(40.87% -0.002 -0.1369)
OKLCHoklch(40.87% 0.137 269.2)
XYZxyz(8.2371, 6.4443, 28.4079)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4193 #937F2D
analogous
#2D7493 #2D4193 #4C2D93
triadic
#2D4193 #932D41 #41932D
tetradic
#2D4193 #932D74 #937F2D #2D934C
square
#2D4193 #932D74 #937F2D #2D934C
split-complementary
#2D4193 #934C2D #74932D
monochromatic
#101835 #1F2C64 #2D4193 #3B56C2 #697ED1

Accessibility & contrast

On white

9.17
#2D4193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D4193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4193
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4193#FFFFFF#000000##FFFFFF
##2D41931.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4193;
/* rgb */ color: rgb(45, 65, 147);
/* oklch */ color: oklch(40.9% 0.137 269.2);
Tailwind
colors: {
  custom: {
    50: '#7375b3',
    500: '#2d4193',
    950: '#000000',
  },
}
SCSS
$custom: #2d4193;
$custom-light: #7375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4193",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 147
  },
  "hsl": {
    "h": 228.235,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.13696,
    "h": 269.2
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#2D4193
secondary
#B8A764
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4193

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

Preview Lab → · Contrast checker → · Palette generator →

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