#2D57B8#2D57B8

#2D57B8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.161 H 263.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2D57B8
RGBrgb(45, 87, 184)
HSLhsl(222, 61%, 45%)
HSVhsv(222, 76%, 72%)
CMYKcmyk(75.5%, 52.7%, 0%, 27.8%)
CIE-LABlab(39.30, 20.17, -55.53)
CIE-LCHlch(39.30, 59.08, 289.97°)
OKLaboklab(48.38% -0.0174 -0.1599)
OKLCHoklch(48.38% 0.161 263.8)
XYZxyz(13.1390, 10.8335, 46.7367)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57B8 #B88E2D
analogous
#2D9CB8 #2D57B8 #492DB8
triadic
#2D57B8 #B82D57 #57B82D
tetradic
#2D57B8 #B82D9C #B88E2D #2DB849
square
#2D57B8 #B82D9C #B88E2D #2DB849
split-complementary
#2D57B8 #B8492D #9CB82D
monochromatic
#152856 #214087 #2D57B8 #4E77D4 #809DE0

Accessibility & contrast

On white

6.63
#2D57B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2D57B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57B8
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57B8#FFFFFF#000000##FFFFFF
##2D57B81.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1263BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d57b8;
/* rgb */ color: rgb(45, 87, 184);
/* oklch */ color: oklch(48.4% 0.161 263.8);
Tailwind
colors: {
  custom: {
    50: '#7a85ce',
    500: '#2d57b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d57b8;
$custom-light: #7a85ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57b8",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 221.871,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.16081,
    "h": 263.8
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#2D57B8
secondary
#C9B078
accent
#B444E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D57B8

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

Preview Lab → · Contrast checker → · Palette generator →

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