#1F668F#1F668F

#1F668F is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.7% C 0.095 H 238.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#1F668F
RGBrgb(31, 102, 143)
HSLhsl(202, 64%, 34%)
HSVhsv(202, 78%, 56%)
CMYKcmyk(78.3%, 28.7%, 0%, 43.9%)
CIE-LABlab(40.86, -6.91, -28.72)
CIE-LCHlch(40.86, 29.54, 256.47°)
OKLaboklab(48.68% -0.0489 -0.0812)
OKLCHoklch(48.68% 0.095 238.9)
XYZxyz(10.2724, 11.7760, 27.7129)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F668F #8F481F
analogous
#1F8F80 #1F668F #1F2E8F
triadic
#1F668F #8F1F66 #668F1F
tetradic
#1F668F #801F8F #8F481F #2E8F1F
square
#1F668F #801F8F #8F481F #2E8F1F
split-complementary
#1F668F #8F1F2E #8F801F
monochromatic
#091E2A #14425D #1F668F #2A8AC1 #4FA7D9

Accessibility & contrast

On white

6.26
#1F668F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#1F668F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F668F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F668F#FFFFFF#000000##FFFFFF
##1F668F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536691
Deuteranopia (green-blind)
#435C8E
Tritanopia (blue-blind)
#007074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f668f;
/* rgb */ color: rgb(31, 102, 143);
/* oklch */ color: oklch(48.7% 0.095 238.9);
Tailwind
colors: {
  custom: {
    50: '#6c91b0',
    500: '#1f668f',
    950: '#000000',
  },
}
SCSS
$custom: #1f668f;
$custom-light: #6c91b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f668f",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 143
  },
  "hsl": {
    "h": 201.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.09477,
    "h": 238.9
  },
  "luminance": 0.11777
}

Semantic roles & 50–950 ramp

primary
#1F668F
secondary
#BC764E
accent
#7E40E7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #1F668F

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

Preview Lab → · Contrast checker → · Palette generator →

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