#2D4688#2D4688

#2D4688 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.114 H 266.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2D4688
RGBrgb(45, 70, 136)
HSLhsl(224, 50%, 35%)
HSVhsv(224, 67%, 53%)
CMYKcmyk(66.9%, 48.5%, 0%, 46.7%)
CIE-LABlab(31.15, 13.26, -39.82)
CIE-LCHlch(31.15, 41.97, 288.41°)
OKLaboklab(41.11% -0.0081 -0.1139)
OKLCHoklch(41.11% 0.114 266)
XYZxyz(7.7147, 6.7151, 24.1774)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4688 #886F2D
analogous
#2D7388 #2D4688 #412D88
triadic
#2D4688 #882D46 #46882D
tetradic
#2D4688 #882D73 #886F2D #2D8841
square
#2D4688 #882D73 #886F2D #2D8841
split-complementary
#2D4688 #88412D #73882D
monochromatic
#0F172C #1E2E5A #2D4688 #3C5EB6 #6480CC

Accessibility & contrast

On white

8.96
#2D4688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4688
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4688#FFFFFF#000000##FFFFFF
##2D46881.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8A
Deuteranopia (green-blind)
#124587
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4688;
/* rgb */ color: rgb(45, 70, 136);
/* oklch */ color: oklch(41.1% 0.114 266.0);
Tailwind
colors: {
  custom: {
    50: '#7079ab',
    500: '#2d4688',
    950: '#000000',
  },
}
SCSS
$custom: #2d4688;
$custom-light: #7079ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4688",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 223.516,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.11422,
    "h": 266
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#2D4688
secondary
#B29B5F
accent
#B34EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4688

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

Preview Lab → · Contrast checker → · Palette generator →

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