#2D57A9#2D57A9

#2D57A9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.140 H 262.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2D57A9
RGBrgb(45, 87, 169)
HSLhsl(220, 58%, 42%)
HSVhsv(220, 73%, 66%)
CMYKcmyk(73.4%, 48.5%, 0%, 33.7%)
CIE-LABlab(38.27, 14.46, -48.34)
CIE-LCHlch(38.27, 50.46, 286.66°)
OKLaboklab(47.26% -0.0193 -0.1387)
OKLCHoklch(47.26% 0.14 262.1)
XYZxyz(11.6493, 10.2376, 38.8905)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57A9 #A97F2D
analogous
#2D95A9 #2D57A9 #412DA9
triadic
#2D57A9 #A92D57 #57A92D
tetradic
#2D57A9 #A92D95 #A97F2D #2DA941
square
#2D57A9 #A92D95 #A97F2D #2DA941
split-complementary
#2D57A9 #A9412D #95A92D
monochromatic
#132548 #203E79 #2D57A9 #4674CE #7698DA

Accessibility & contrast

On white

6.89
#2D57A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2D57A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57A9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57A9#FFFFFF#000000##FFFFFF
##2D57A91.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A60AC
Deuteranopia (green-blind)
#0455A7
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d57a9;
/* rgb */ color: rgb(45, 87, 169);
/* oklch */ color: oklch(47.3% 0.140 262.1);
Tailwind
colors: {
  custom: {
    50: '#7685c3',
    500: '#2d57a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d57a9;
$custom-light: #7685c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57a9",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 169
  },
  "hsl": {
    "h": 219.677,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.14006,
    "h": 262.1
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#2D57A9
secondary
#C2A66F
accent
#AD47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2D57A9

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

Preview Lab → · Contrast checker → · Palette generator →

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