#1F668C#1F668C

#1F668C is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.5% C 0.091 H 236.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#1F668C
RGBrgb(31, 102, 140)
HSLhsl(201, 64%, 34%)
HSVhsv(201, 78%, 55%)
CMYKcmyk(77.9%, 27.1%, 0%, 45.1%)
CIE-LABlab(40.71, -8.03, -27.14)
CIE-LCHlch(40.71, 28.30, 253.51°)
OKLaboklab(48.51% -0.05 -0.0766)
OKLCHoklch(48.51% 0.091 236.9)
XYZxyz(10.0482, 11.6863, 26.5320)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F668C #8C451F
analogous
#1F8C7B #1F668C #1F308C
triadic
#1F668C #8C1F66 #668C1F
tetradic
#1F668C #7B1F8C #8C451F #308C1F
square
#1F668C #7B1F8C #8C451F #308C1F
split-complementary
#1F668C #8C1F30 #8C7B1F
monochromatic
#091D28 #14415A #1F668C #2A8BBE #4EA8D8

Accessibility & contrast

On white

6.29
#1F668C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#1F668C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F668C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F668C#FFFFFF#000000##FFFFFF
##1F668C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668E
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f668c;
/* rgb */ color: rgb(31, 102, 140);
/* oklch */ color: oklch(48.5% 0.091 236.9);
Tailwind
colors: {
  custom: {
    50: '#6c91ad',
    500: '#1f668c',
    950: '#000000',
  },
}
SCSS
$custom: #1f668c;
$custom-light: #6c91ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f668c",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 140
  },
  "hsl": {
    "h": 200.917,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.48514,
    "c": 0.09146,
    "h": 236.9
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#1F668C
secondary
#BB734C
accent
#7B41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F668C

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

Preview Lab → · Contrast checker → · Palette generator →

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