#1F5B9A#1F5B9A

#1F5B9A is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.119 H 252.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1F5B9A
RGBrgb(31, 91, 154)
HSLhsl(211, 66%, 36%)
HSVhsv(211, 80%, 60%)
CMYKcmyk(79.9%, 40.9%, 0%, 39.6%)
CIE-LABlab(38.03, 4.22, -39.79)
CIE-LCHlch(38.03, 40.01, 276.06°)
OKLaboklab(46.65% -0.0352 -0.1137)
OKLCHoklch(46.65% 0.119 252.8)
XYZxyz(10.1367, 10.1054, 31.9819)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B9A #9A5E1F
analogous
#1F999A #1F5B9A #211F9A
triadic
#1F5B9A #9A1F5B #5B9A1F
tetradic
#1F5B9A #9A1F99 #9A5E1F #1F9A21
square
#1F5B9A #9A1F99 #9A5E1F #1F9A21
split-complementary
#1F5B9A #9A211F #999A1F
monochromatic
#0A1F34 #153D67 #1F5B9A #2979CD #5698DD

Accessibility & contrast

On white

6.95
#1F5B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F5B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5B9A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B9A#FFFFFF#000000##FFFFFF
##1F5B9A1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D609D
Deuteranopia (green-blind)
#285499
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5b9a;
/* rgb */ color: rgb(31, 91, 154);
/* oklch */ color: oklch(46.6% 0.119 252.8);
Tailwind
colors: {
  custom: {
    50: '#6e88b8',
    500: '#1f5b9a',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b9a;
$custom-light: #6e88b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b9a",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 154
  },
  "hsl": {
    "h": 210.732,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.11903,
    "h": 252.8
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#1F5B9A
secondary
#C18C54
accent
#963EE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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