#2D57AF#2D57AF

#2D57AF is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.148 H 262.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2D57AF
RGBrgb(45, 87, 175)
HSLhsl(221, 59%, 43%)
HSVhsv(221, 74%, 69%)
CMYKcmyk(74.3%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.67, 16.75, -51.24)
CIE-LCHlch(38.67, 53.91, 288.10°)
OKLaboklab(47.7% -0.0184 -0.1473)
OKLCHoklch(47.7% 0.148 262.9)
XYZxyz(12.2255, 10.4681, 41.9254)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D57AF #AF852D
analogous
#2D98AF #2D57AF #442DAF
triadic
#2D57AF #AF2D57 #57AF2D
tetradic
#2D57AF #AF2D98 #AF852D #2DAF44
square
#2D57AF #AF2D98 #AF852D #2DAF44
split-complementary
#2D57AF #AF442D #98AF2D
monochromatic
#14274E #203F7E #2D57AF #4975D0 #7A9ADD

Accessibility & contrast

On white

6.79
#2D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D57AF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D57AF#FFFFFF#000000##FFFFFF
##2D57AF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d57af;
/* rgb */ color: rgb(45, 87, 175);
/* oklch */ color: oklch(47.7% 0.148 262.9);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2d57af',
    950: '#000000',
  },
}
SCSS
$custom: #2d57af;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d57af",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 220.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.14842,
    "h": 262.9
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

primary
#2D57AF
secondary
#C5AA73
accent
#B046E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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