#1F5F90#1F5F90

#1F5F90 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.102 H 245.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#1F5F90
RGBrgb(31, 95, 144)
HSLhsl(206, 65%, 34%)
HSVhsv(206, 78%, 56%)
CMYKcmyk(78.5%, 34%, 0%, 43.5%)
CIE-LABlab(38.70, -2.22, -32.70)
CIE-LCHlch(38.70, 32.78, 266.11°)
OKLaboklab(46.99% -0.0417 -0.0929)
OKLCHoklch(46.99% 0.102 245.8)
XYZxyz(9.6894, 10.4882, 27.8939)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F90 #90501F
analogous
#1F9089 #1F5F90 #1F2790
triadic
#1F5F90 #901F5F #5F901F
tetradic
#1F5F90 #891F90 #90501F #27901F
square
#1F5F90 #891F90 #90501F #27901F
split-complementary
#1F5F90 #901F27 #90891F
monochromatic
#091D2B #143E5E #1F5F90 #2A80C2 #509ED9

Accessibility & contrast

On white

6.78
#1F5F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1F5F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F90
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F90#FFFFFF#000000##FFFFFF
##1F5F901.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486192
Deuteranopia (green-blind)
#38568F
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5f90;
/* rgb */ color: rgb(31, 95, 144);
/* oklch */ color: oklch(47.0% 0.102 245.8);
Tailwind
colors: {
  custom: {
    50: '#6c8cb1',
    500: '#1f5f90',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f90;
$custom-light: #6c8cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f90",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 144
  },
  "hsl": {
    "h": 206.018,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4699,
    "c": 0.1018,
    "h": 245.8
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#1F5F90
secondary
#BC7E4E
accent
#8940E8
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #1F5F90

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

Preview Lab → · Contrast checker → · Palette generator →

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