#1F5A95#1F5A95

#1F5A95 is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.1% C 0.113 H 251.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#1F5A95
RGBrgb(31, 90, 149)
HSLhsl(210, 66%, 35%)
HSVhsv(210, 79%, 58%)
CMYKcmyk(79.2%, 39.6%, 0%, 41.6%)
CIE-LABlab(37.43, 2.90, -37.74)
CIE-LCHlch(37.43, 37.85, 274.40°)
OKLaboklab(46.08% -0.0355 -0.1077)
OKLCHoklch(46.08% 0.113 251.7)
XYZxyz(9.6440, 9.7724, 29.8059)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5A95 #955A1F
analogous
#1F9595 #1F5A95 #1F1F95
triadic
#1F5A95 #951F5A #5A951F
tetradic
#1F5A95 #951F95 #955A1F #1F951F
square
#1F5A95 #951F95 #955A1F #1F951F
split-complementary
#1F5A95 #951F1F #95951F
monochromatic
#0A1D30 #143B62 #1F5A95 #2A79C8 #5397DB

Accessibility & contrast

On white

7.11
#1F5A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#1F5A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5A95
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5A95#FFFFFF#000000##FFFFFF
##1F5A951.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1f5a95;
/* rgb */ color: rgb(31, 90, 149);
/* oklch */ color: oklch(46.1% 0.113 251.7);
Tailwind
colors: {
  custom: {
    50: '#6d88b4',
    500: '#1f5a95',
    950: '#000000',
  },
}
SCSS
$custom: #1f5a95;
$custom-light: #6d88b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5a95",
  "rgb": {
    "r": 31,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 210,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.11341,
    "h": 251.7
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#1F5A95
secondary
#BF8851
accent
#943FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5A95

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

Preview Lab → · Contrast checker → · Palette generator →

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