#1F5B9C#1F5B9C

#1F5B9C is a mid, vivid cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.122 H 253.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#1F5B9C
RGBrgb(31, 91, 156)
HSLhsl(211, 67%, 37%)
HSVhsv(211, 80%, 61%)
CMYKcmyk(80.1%, 41.7%, 0%, 38.8%)
CIE-LABlab(38.15, 5.01, -40.80)
CIE-LCHlch(38.15, 41.11, 277.00°)
OKLaboklab(46.78% -0.0347 -0.1167)
OKLCHoklch(46.78% 0.122 253.4)
XYZxyz(10.3047, 10.1725, 32.8664)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B9C #9C601F
analogous
#1F9A9C #1F5B9C #221F9C
triadic
#1F5B9C #9C1F5B #5B9C1F
tetradic
#1F5B9C #9C1F9A #9C601F #1F9C22
square
#1F5B9C #9C1F9A #9C601F #1F9C22
split-complementary
#1F5B9C #9C221F #9A9C1F
monochromatic
#0B1F36 #153D69 #1F5B9C #2979CF #5898DE

Accessibility & contrast

On white

6.92
#1F5B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#1F5B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5B9C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B9C#FFFFFF#000000##FFFFFF
##1F5B9C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#006A74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5b9c;
/* rgb */ color: rgb(31, 91, 156);
/* oklch */ color: oklch(46.8% 0.122 253.4);
Tailwind
colors: {
  custom: {
    50: '#6f88b9',
    500: '#1f5b9c',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b9c;
$custom-light: #6f88b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b9c",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 156
  },
  "hsl": {
    "h": 211.2,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46777,
    "c": 0.12172,
    "h": 253.4
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#1F5B9C
secondary
#C18E55
accent
#973EEA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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