#2D558E#2D558E

#2D558E is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.104 H 257.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2D558E
RGBrgb(45, 85, 142)
HSLhsl(215, 52%, 37%)
HSVhsv(215, 68%, 56%)
CMYKcmyk(68.3%, 40.1%, 0%, 44.3%)
CIE-LABlab(36.00, 5.54, -35.75)
CIE-LCHlch(36.00, 36.18, 278.81°)
OKLaboklab(44.97% -0.0226 -0.1018)
OKLCHoklch(44.97% 0.104 257.5)
XYZxyz(9.2114, 9.0070, 26.8390)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D558E #8E662D
analogous
#2D868E #2D558E #362D8E
triadic
#2D558E #8E2D55 #558E2D
tetradic
#2D558E #8E2D86 #8E662D #2D8E36
square
#2D558E #8E2D86 #8E662D #2D8E36
split-complementary
#2D558E #8E362D #868E2D
monochromatic
#101D31 #1E3960 #2D558E #3C71BC #6792CF

Accessibility & contrast

On white

7.50
#2D558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D558E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D558E#FFFFFF#000000##FFFFFF
##2D558E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5A90
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d558e;
/* rgb */ color: rgb(45, 85, 142);
/* oklch */ color: oklch(45.0% 0.104 257.5);
Tailwind
colors: {
  custom: {
    50: '#7184af',
    500: '#2d558e',
    950: '#000000',
  },
}
SCSS
$custom: #2d558e;
$custom-light: #7184af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d558e",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 215.258,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.10424,
    "h": 257.5
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#2D558E
secondary
#B59361
accent
#A04CDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D558E

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

Preview Lab → · Contrast checker → · Palette generator →

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