#2D57AE#2D57AE

#2D57AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.147 H 262.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2D57AE
RGBrgb(45, 87, 174)
HSLhsl(220, 59%, 43%)
HSVhsv(220, 74%, 68%)
CMYKcmyk(74.1%, 50%, 0%, 31.8%)
CIE-LABlab(38.60, 16.37, -50.76)
CIE-LCHlch(38.60, 53.34, 287.87°)
OKLaboklab(47.63% -0.0186 -0.1458)
OKLCHoklch(47.63% 0.147 262.7)
XYZxyz(12.1276, 10.4289, 41.4100)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57AE #AE842D
analogous
#2D97AE #2D57AE #432DAE
triadic
#2D57AE #AE2D57 #57AE2D
tetradic
#2D57AE #AE2D97 #AE842D #2DAE43
square
#2D57AE #AE2D97 #AE842D #2DAE43
split-complementary
#2D57AE #AE432D #97AE2D
monochromatic
#14264D #203F7D #2D57AE #4874D0 #7999DC

Accessibility & contrast

On white

6.80
#2D57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2D57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57AE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57AE#FFFFFF#000000##FFFFFF
##2D57AE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d57ae;
/* rgb */ color: rgb(45, 87, 174);
/* oklch */ color: oklch(47.6% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2d57ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d57ae;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57ae",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 220.465,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47628,
    "c": 0.14703,
    "h": 262.7
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#2D57AE
secondary
#C4AA72
accent
#AF46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D57AE

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

Preview Lab → · Contrast checker → · Palette generator →

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