#2D57AC#2D57AC

#2D57AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.144 H 262.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2D57AC
RGBrgb(45, 87, 172)
HSLhsl(220, 59%, 43%)
HSVhsv(220, 74%, 67%)
CMYKcmyk(73.8%, 49.4%, 0%, 32.5%)
CIE-LABlab(38.47, 15.61, -49.80)
CIE-LCHlch(38.47, 52.19, 287.40°)
OKLaboklab(47.48% -0.0188 -0.143)
OKLCHoklch(47.48% 0.144 262.5)
XYZxyz(11.9341, 10.3515, 40.3908)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57AC #AC822D
analogous
#2D97AC #2D57AC #422DAC
triadic
#2D57AC #AC2D57 #57AC2D
tetradic
#2D57AC #AC2D97 #AC822D #2DAC42
square
#2D57AC #AC2D97 #AC822D #2DAC42
split-complementary
#2D57AC #AC422D #97AC2D
monochromatic
#14264B #203E7B #2D57AC #4774CF #7899DC

Accessibility & contrast

On white

6.84
#2D57AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D57AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57AC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57AC#FFFFFF#000000##FFFFFF
##2D57AC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d57ac;
/* rgb */ color: rgb(45, 87, 172);
/* oklch */ color: oklch(47.5% 0.144 262.5);
Tailwind
colors: {
  custom: {
    50: '#7785c5',
    500: '#2d57ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d57ac;
$custom-light: #7785c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57ac",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 220.157,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.14425,
    "h": 262.5
  },
  "luminance": 0.10353
}

Semantic roles & 50–950 ramp

primary
#2D57AC
secondary
#C4A871
accent
#AE46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D57AC

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

Preview Lab → · Contrast checker → · Palette generator →

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