#1F5C90#1F5C90

#1F5C90 is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.3% C 0.105 H 248.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#1F5C90
RGBrgb(31, 92, 144)
HSLhsl(208, 65%, 34%)
HSVhsv(208, 78%, 56%)
CMYKcmyk(78.5%, 36.1%, 0%, 43.5%)
CIE-LABlab(37.77, -0.33, -34.19)
CIE-LCHlch(37.77, 34.19, 269.44°)
OKLaboklab(46.25% -0.0388 -0.0973)
OKLCHoklch(46.25% 0.105 248.3)
XYZxyz(9.4243, 9.9581, 27.8056)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C90 #90531F
analogous
#1F908C #1F5C90 #1F2390
triadic
#1F5C90 #901F5C #5C901F
tetradic
#1F5C90 #8C1F90 #90531F #23901F
square
#1F5C90 #8C1F90 #90531F #23901F
split-complementary
#1F5C90 #901F23 #908C1F
monochromatic
#091C2B #143C5E #1F5C90 #2A7CC2 #509AD9

Accessibility & contrast

On white

7.02
#1F5C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F5C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5C90
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C90#FFFFFF#000000##FFFFFF
##1F5C901.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F92
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#00686F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5c90;
/* rgb */ color: rgb(31, 92, 144);
/* oklch */ color: oklch(46.3% 0.105 248.3);
Tailwind
colors: {
  custom: {
    50: '#6c89b1',
    500: '#1f5c90',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c90;
$custom-light: #6c89b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c90",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 144
  },
  "hsl": {
    "h": 207.611,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.10471,
    "h": 248.3
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#1F5C90
secondary
#BC814E
accent
#8D40E8
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #1F5C90

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

Preview Lab → · Contrast checker → · Palette generator →

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