#2D57A3#2D57A3

#2D57A3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.132 H 261.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2D57A3
RGBrgb(45, 87, 163)
HSLhsl(219, 57%, 41%)
HSVhsv(219, 72%, 64%)
CMYKcmyk(72.4%, 46.6%, 0%, 36.1%)
CIE-LABlab(37.87, 12.18, -45.40)
CIE-LCHlch(37.87, 47.00, 285.01°)
OKLaboklab(46.84% -0.0202 -0.1301)
OKLCHoklch(46.84% 0.132 261.2)
XYZxyz(11.0989, 10.0174, 35.9919)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57A3 #A3792D
analogous
#2D92A3 #2D57A3 #3E2DA3
triadic
#2D57A3 #A32D57 #57A32D
tetradic
#2D57A3 #A32D92 #A3792D #2DA33E
square
#2D57A3 #A32D92 #A3792D #2DA33E
split-complementary
#2D57A3 #A33E2D #92A32D
monochromatic
#132443 #203D73 #2D57A3 #4273CB #7297D8

Accessibility & contrast

On white

6.99
#2D57A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#2D57A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57A3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57A3#FFFFFF#000000##FFFFFF
##2D57A31.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#1654A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d57a3;
/* rgb */ color: rgb(45, 87, 163);
/* oklch */ color: oklch(46.8% 0.132 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585bf',
    500: '#2d57a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d57a3;
$custom-light: #7585bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57a3",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 218.644,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46837,
    "c": 0.13164,
    "h": 261.2
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#2D57A3
secondary
#C0A26C
accent
#AA48E0
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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