#2D4994#2D4994

#2D4994 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.128 H 265.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2D4994
RGBrgb(45, 73, 148)
HSLhsl(224, 53%, 38%)
HSVhsv(224, 70%, 58%)
CMYKcmyk(69.6%, 50.7%, 0%, 42%)
CIE-LABlab(32.83, 15.78, -44.47)
CIE-LCHlch(32.83, 47.18, 289.54°)
OKLaboklab(42.66% -0.0094 -0.1276)
OKLCHoklch(42.66% 0.128 265.8)
XYZxyz(8.8082, 7.4602, 28.9870)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4994 #94782D
analogous
#2D7D94 #2D4994 #442D94
triadic
#2D4994 #942D49 #49942D
tetradic
#2D4994 #942D7D #94782D #2D9444
square
#2D4994 #942D7D #94782D #2D9444
split-complementary
#2D4994 #94442D #7D942D
monochromatic
#101B36 #1F3265 #2D4994 #3B60C3 #6A86D2

Accessibility & contrast

On white

8.43
#2D4994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4994
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4994#FFFFFF#000000##FFFFFF
##2D49941.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5297
Deuteranopia (green-blind)
#004992
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4994;
/* rgb */ color: rgb(45, 73, 148);
/* oklch */ color: oklch(42.7% 0.128 265.8);
Tailwind
colors: {
  custom: {
    50: '#737bb4',
    500: '#2d4994',
    950: '#000000',
  },
}
SCSS
$custom: #2d4994;
$custom-light: #737bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4994",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 148
  },
  "hsl": {
    "h": 223.689,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.12791,
    "h": 265.8
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4994

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

Preview Lab → · Contrast checker → · Palette generator →

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