#2D4A89#2D4A89

#2D4A89 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.110 H 263.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2D4A89
RGBrgb(45, 74, 137)
HSLhsl(221, 51%, 36%)
HSVhsv(221, 67%, 54%)
CMYKcmyk(67.2%, 46%, 0%, 46.3%)
CIE-LABlab(32.39, 10.94, -38.44)
CIE-LCHlch(32.39, 39.97, 285.88°)
OKLaboklab(42.09% -0.0121 -0.1098)
OKLCHoklch(42.09% 0.11 263.7)
XYZxyz(8.0447, 7.2608, 24.6396)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A89 #896C2D
analogous
#2D7889 #2D4A89 #3E2D89
triadic
#2D4A89 #892D4A #4A892D
tetradic
#2D4A89 #892D78 #896C2D #2D893E
square
#2D4A89 #892D78 #896C2D #2D893E
split-complementary
#2D4A89 #893E2D #78892D
monochromatic
#0F182D #1E315B #2D4A89 #3C63B7 #6485CC

Accessibility & contrast

On white

8.56
#2D4A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D4A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A89
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A89#FFFFFF#000000##FFFFFF
##2D4A891.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518B
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4a89;
/* rgb */ color: rgb(45, 74, 137);
/* oklch */ color: oklch(42.1% 0.110 263.7);
Tailwind
colors: {
  custom: {
    50: '#707cac',
    500: '#2d4a89',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a89;
$custom-light: #707cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a89",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 221.087,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42087,
    "c": 0.11049,
    "h": 263.7
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#2D4A89
secondary
#B3985F
accent
#AE4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4A89

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

Preview Lab → · Contrast checker → · Palette generator →

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