#2D4993#2D4993

#2D4993 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.126 H 265.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2D4993
RGBrgb(45, 73, 147)
HSLhsl(224, 53%, 38%)
HSVhsv(224, 69%, 58%)
CMYKcmyk(69.4%, 50.3%, 0%, 42.4%)
CIE-LABlab(32.76, 15.40, -43.97)
CIE-LCHlch(32.76, 46.59, 289.30°)
OKLaboklab(42.58% -0.0095 -0.1261)
OKLCHoklch(42.58% 0.126 265.7)
XYZxyz(8.7294, 7.4287, 28.5719)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4993 #93772D
analogous
#2D7C93 #2D4993 #442D93
triadic
#2D4993 #932D49 #49932D
tetradic
#2D4993 #932D7C #93772D #2D9344
square
#2D4993 #932D7C #93772D #2D9344
split-complementary
#2D4993 #93442D #7C932D
monochromatic
#101A35 #1F3264 #2D4993 #3B60C2 #6986D1

Accessibility & contrast

On white

8.45
#2D4993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D4993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4993
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4993#FFFFFF#000000##FFFFFF
##2D49931.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205296
Deuteranopia (green-blind)
#024991
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4993;
/* rgb */ color: rgb(45, 73, 147);
/* oklch */ color: oklch(42.6% 0.126 265.7);
Tailwind
colors: {
  custom: {
    50: '#727bb3',
    500: '#2d4993',
    950: '#000000',
  },
}
SCSS
$custom: #2d4993;
$custom-light: #727bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4993",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 147
  },
  "hsl": {
    "h": 223.529,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.12646,
    "h": 265.7
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#2D4993
secondary
#B8A164
accent
#B54BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4993

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

Preview Lab → · Contrast checker → · Palette generator →

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