#1F5F9E#1F5F9E

#1F5F9E is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.120 H 251.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#1F5F9E
RGBrgb(31, 95, 158)
HSLhsl(210, 67%, 37%)
HSVhsv(210, 80%, 62%)
CMYKcmyk(80.4%, 39.9%, 0%, 38%)
CIE-LABlab(39.48, 3.22, -39.87)
CIE-LCHlch(39.48, 40.00, 274.61°)
OKLaboklab(47.86% -0.0378 -0.1139)
OKLCHoklch(47.86% 0.12 251.6)
XYZxyz(10.8265, 10.9430, 33.8827)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F9E #9E5E1F
analogous
#1F9E9E #1F5F9E #1F1F9E
triadic
#1F5F9E #9E1F5F #5F9E1F
tetradic
#1F5F9E #9E1F9E #9E5E1F #1F9E1F
square
#1F5F9E #9E1F9E #9E5E1F #1F9E1F
split-complementary
#1F5F9E #9E1F1F #9E9E1F
monochromatic
#0B2138 #15406B #1F5F9E #297ED1 #599CDE

Accessibility & contrast

On white

6.59
#1F5F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#1F5F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F9E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F9E#FFFFFF#000000##FFFFFF
##1F5F9E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#2C589D
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5f9e;
/* rgb */ color: rgb(31, 95, 158);
/* oklch */ color: oklch(47.9% 0.120 251.6);
Tailwind
colors: {
  custom: {
    50: '#6f8bbb',
    500: '#1f5f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f9e;
$custom-light: #6f8bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f9e",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 209.764,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.11996,
    "h": 251.6
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#1F5F9E
secondary
#C28C56
accent
#933EEA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #1F5F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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