#1F56A0#1F56A0

#1F56A0 is a mid, vivid cyan. Relative luminance 0.095; OKLCH L 45.9% C 0.133 H 257.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#1F56A0
RGBrgb(31, 86, 160)
HSLhsl(214, 68%, 37%)
HSVhsv(214, 81%, 63%)
CMYKcmyk(80.6%, 46.3%, 0%, 37.3%)
CIE-LABlab(36.90, 9.87, -45.20)
CIE-LCHlch(36.90, 46.26, 282.32°)
OKLaboklab(45.89% -0.0296 -0.1297)
OKLCHoklch(45.89% 0.133 257.2)
XYZxyz(10.2357, 9.4837, 34.5420)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F56A0 #A0691F
analogous
#1F96A0 #1F56A0 #291FA0
triadic
#1F56A0 #A01F56 #56A01F
tetradic
#1F56A0 #A01F96 #A0691F #1FA029
square
#1F56A0 #A01F96 #A0691F #1FA029
split-complementary
#1F56A0 #A0291F #96A01F
monochromatic
#0B1F39 #153A6D #1F56A0 #2972D3 #5A93DF

Accessibility & contrast

On white

7.25
#1F56A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#1F56A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F56A0
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F56A0#FFFFFF#000000##FFFFFF
##1F56A01.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#10519F
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f56a0;
/* rgb */ color: rgb(31, 86, 160);
/* oklch */ color: oklch(45.9% 0.133 257.2);
Tailwind
colors: {
  custom: {
    50: '#7085bc',
    500: '#1f56a0',
    950: '#000000',
  },
}
SCSS
$custom: #1f56a0;
$custom-light: #7085bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1f56a0",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 160
  },
  "hsl": {
    "h": 214.419,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.13303,
    "h": 257.2
  },
  "luminance": 0.09485
}

Semantic roles & 50–950 ramp

primary
#1F56A0
secondary
#C39558
accent
#A13DEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1F56A0

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

Preview Lab → · Contrast checker → · Palette generator →

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