#2D4A86#2D4A86

#2D4A86 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.106 H 263.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2D4A86
RGBrgb(45, 74, 134)
HSLhsl(220, 50%, 35%)
HSVhsv(220, 66%, 53%)
CMYKcmyk(66.4%, 44.8%, 0%, 47.5%)
CIE-LABlab(32.20, 9.81, -36.90)
CIE-LCHlch(32.20, 38.18, 284.88°)
OKLaboklab(41.88% -0.0126 -0.1053)
OKLCHoklch(41.88% 0.106 263.2)
XYZxyz(7.8325, 7.1759, 23.5220)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A86 #86692D
analogous
#2D7786 #2D4A86 #3C2D86
triadic
#2D4A86 #862D4A #4A862D
tetradic
#2D4A86 #862D77 #86692D #2D863C
square
#2D4A86 #862D77 #86692D #2D863C
split-complementary
#2D4A86 #863C2D #77862D
monochromatic
#0E172A #1E3158 #2D4A86 #3C63B4 #6385CB

Accessibility & contrast

On white

8.62
#2D4A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D4A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A86
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A86#FFFFFF#000000##FFFFFF
##2D4A861.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5088
Deuteranopia (green-blind)
#204885
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4a86;
/* rgb */ color: rgb(45, 74, 134);
/* oklch */ color: oklch(41.9% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#707ca9',
    500: '#2d4a86',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a86;
$custom-light: #707ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a86",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 220.449,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.10605,
    "h": 263.2
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#2D4A86
secondary
#B1965E
accent
#AC4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4A86

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

Preview Lab → · Contrast checker → · Palette generator →

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