#1F57A0#1F57A0

#1F57A0 is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.1% C 0.132 H 256.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1F57A0
RGBrgb(31, 87, 160)
HSLhsl(214, 68%, 37%)
HSVhsv(214, 81%, 63%)
CMYKcmyk(80.6%, 45.6%, 0%, 37.3%)
CIE-LABlab(37.20, 9.21, -44.72)
CIE-LCHlch(37.20, 45.66, 281.63°)
OKLaboklab(46.12% -0.0304 -0.1283)
OKLCHoklch(46.12% 0.132 256.7)
XYZxyz(10.3161, 9.6445, 34.5688)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F57A0 #A0681F
analogous
#1F98A0 #1F57A0 #271FA0
triadic
#1F57A0 #A01F57 #57A01F
tetradic
#1F57A0 #A01F98 #A0681F #1FA027
square
#1F57A0 #A01F98 #A0681F #1FA027
split-complementary
#1F57A0 #A0271F #98A01F
monochromatic
#0B1F39 #153B6D #1F57A0 #2973D3 #5A94DF

Accessibility & contrast

On white

7.17
#1F57A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1F57A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F57A0
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F57A0#FFFFFF#000000##FFFFFF
##1F57A01.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315EA3
Deuteranopia (green-blind)
#14529F
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f57a0;
/* rgb */ color: rgb(31, 87, 160);
/* oklch */ color: oklch(46.1% 0.132 256.7);
Tailwind
colors: {
  custom: {
    50: '#7085bc',
    500: '#1f57a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f57a0;
$custom-light: #7085bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f57a0",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 160
  },
  "hsl": {
    "h": 213.953,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.13183,
    "h": 256.7
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#1F57A0
secondary
#C39458
accent
#9F3DEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #1F57A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1F57A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva