#1F6790#1F6790

#1F6790 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 49.0% C 0.095 H 238.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#1F6790
RGBrgb(31, 103, 144)
HSLhsl(202, 65%, 34%)
HSVhsv(202, 78%, 56%)
CMYKcmyk(78.5%, 28.5%, 0%, 43.5%)
CIE-LABlab(41.22, -7.14, -28.74)
CIE-LCHlch(41.22, 29.62, 256.05°)
OKLaboklab(48.98% -0.0496 -0.0812)
OKLCHoklch(48.98% 0.095 238.6)
XYZxyz(10.4474, 12.0042, 28.1466)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6790 #90481F
analogous
#1F9081 #1F6790 #1F2F90
triadic
#1F6790 #901F67 #67901F
tetradic
#1F6790 #811F90 #90481F #2F901F
square
#1F6790 #811F90 #90481F #2F901F
split-complementary
#1F6790 #901F2F #90811F
monochromatic
#091F2B #14435E #1F6790 #2A8BC2 #50A8D9

Accessibility & contrast

On white

6.17
#1F6790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#1F6790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6790
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6790#FFFFFF#000000##FFFFFF
##1F67901.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546792
Deuteranopia (green-blind)
#445D8F
Tritanopia (blue-blind)
#007175
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f6790;
/* rgb */ color: rgb(31, 103, 144);
/* oklch */ color: oklch(49.0% 0.095 238.6);
Tailwind
colors: {
  custom: {
    50: '#6d92b0',
    500: '#1f6790',
    950: '#000000',
  },
}
SCSS
$custom: #1f6790;
$custom-light: #6d92b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6790",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 144
  },
  "hsl": {
    "h": 201.77,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.09517,
    "h": 238.6
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

primary
#1F6790
secondary
#BC764E
accent
#7D40E8
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #1F6790

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

Preview Lab → · Contrast checker → · Palette generator →

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