#1F5697#1F5697

#1F5697 is a mid, vivid cyan. Relative luminance 0.092; OKLCH L 45.3% C 0.121 H 254.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1F5697
RGBrgb(31, 86, 151)
HSLhsl(213, 66%, 36%)
HSVhsv(213, 79%, 59%)
CMYKcmyk(79.5%, 43%, 0%, 40.8%)
CIE-LABlab(36.33, 6.30, -40.70)
CIE-LCHlch(36.33, 41.19, 278.79°)
OKLaboklab(45.26% -0.0314 -0.1165)
OKLCHoklch(45.26% 0.121 254.9)
XYZxyz(9.4767, 9.1801, 30.5446)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5697 #97601F
analogous
#1F9297 #1F5697 #241F97
triadic
#1F5697 #971F56 #56971F
tetradic
#1F5697 #971F92 #97601F #1F9724
square
#1F5697 #971F92 #97601F #1F9724
split-complementary
#1F5697 #97241F #92971F
monochromatic
#0A1C31 #153964 #1F5697 #2973CA #5493DC

Accessibility & contrast

On white

7.40
#1F5697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1F5697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5697
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5697#FFFFFF#000000##FFFFFF
##1F56971.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B9A
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5697;
/* rgb */ color: rgb(31, 86, 151);
/* oklch */ color: oklch(45.3% 0.121 254.9);
Tailwind
colors: {
  custom: {
    50: '#6e85b6',
    500: '#1f5697',
    950: '#000000',
  },
}
SCSS
$custom: #1f5697;
$custom-light: #6e85b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5697",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 212.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45261,
    "c": 0.12064,
    "h": 254.9
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#1F5697
secondary
#BF8D52
accent
#9B3FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5697

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

Preview Lab → · Contrast checker → · Palette generator →

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