#2D57B7#2D57B7

#2D57B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.159 H 263.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2D57B7
RGBrgb(45, 87, 183)
HSLhsl(222, 61%, 45%)
HSVhsv(222, 75%, 72%)
CMYKcmyk(75.4%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.23, 19.79, -55.05)
CIE-LCHlch(39.23, 58.50, 289.78°)
OKLaboklab(48.3% -0.0175 -0.1585)
OKLCHoklch(48.3% 0.159 263.7)
XYZxyz(13.0346, 10.7917, 46.1866)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57B7 #B78D2D
analogous
#2D9CB7 #2D57B7 #482DB7
triadic
#2D57B7 #B72D57 #57B72D
tetradic
#2D57B7 #B72D9C #B78D2D #2DB748
square
#2D57B7 #B72D9C #B78D2D #2DB748
split-complementary
#2D57B7 #B7482D #9CB72D
monochromatic
#152855 #214086 #2D57B7 #4E76D3 #7F9CDF

Accessibility & contrast

On white

6.65
#2D57B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2D57B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D57B7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57B7#FFFFFF#000000##FFFFFF
##2D57B71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1563BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d57b7;
/* rgb */ color: rgb(45, 87, 183);
/* oklch */ color: oklch(48.3% 0.159 263.7);
Tailwind
colors: {
  custom: {
    50: '#7a85cd',
    500: '#2d57b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d57b7;
$custom-light: #7a85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57b7",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 221.739,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48304,
    "c": 0.15944,
    "h": 263.7
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#2D57B7
secondary
#C8B078
accent
#B344E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #2D57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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