#1F668A#1F668A

#1F668A is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.4% C 0.089 H 235.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#1F668A
RGBrgb(31, 102, 138)
HSLhsl(200, 63%, 33%)
HSVhsv(200, 78%, 54%)
CMYKcmyk(77.5%, 26.1%, 0%, 45.9%)
CIE-LABlab(40.62, -8.78, -26.08)
CIE-LCHlch(40.62, 27.52, 251.40°)
OKLaboklab(48.41% -0.0507 -0.0735)
OKLCHoklch(48.41% 0.089 235.4)
XYZxyz(9.9021, 11.6279, 25.7624)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F668A #8A431F
analogous
#1F8A78 #1F668A #1F308A
triadic
#1F668A #8A1F66 #668A1F
tetradic
#1F668A #781F8A #8A431F #308A1F
square
#1F668A #781F8A #8A431F #308A1F
split-complementary
#1F668A #8A1F30 #8A781F
monochromatic
#091C26 #144158 #1F668A #2A8BBC #4CA8D7

Accessibility & contrast

On white

6.31
#1F668A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#1F668A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F668A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F668A#FFFFFF#000000##FFFFFF
##1F668A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55658C
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f668a;
/* rgb */ color: rgb(31, 102, 138);
/* oklch */ color: oklch(48.4% 0.089 235.4);
Tailwind
colors: {
  custom: {
    50: '#6b91ac',
    500: '#1f668a',
    950: '#000000',
  },
}
SCSS
$custom: #1f668a;
$custom-light: #6b91ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f668a",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 138
  },
  "hsl": {
    "h": 200.187,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48407,
    "c": 0.08932,
    "h": 235.4
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#1F668A
secondary
#BA704B
accent
#7941E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F668A

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

Preview Lab → · Contrast checker → · Palette generator →

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