#1F668D#1F668D

#1F668D is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.6% C 0.093 H 237.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#1F668D
RGBrgb(31, 102, 141)
HSLhsl(201, 64%, 34%)
HSVhsv(201, 78%, 55%)
CMYKcmyk(78%, 27.7%, 0%, 44.7%)
CIE-LABlab(40.76, -7.66, -27.67)
CIE-LCHlch(40.76, 28.71, 254.53°)
OKLaboklab(48.57% -0.0496 -0.0781)
OKLCHoklch(48.57% 0.093 237.6)
XYZxyz(10.1223, 11.7159, 26.9221)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F668D #8D461F
analogous
#1F8D7D #1F668D #1F2F8D
triadic
#1F668D #8D1F66 #668D1F
tetradic
#1F668D #7D1F8D #8D461F #2F8D1F
square
#1F668D #7D1F8D #8D461F #2F8D1F
split-complementary
#1F668D #8D1F2F #8D7D1F
monochromatic
#091D29 #14425B #1F668D #2A8ABF #4EA7D8

Accessibility & contrast

On white

6.28
#1F668D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F668D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F668D#FFFFFF#000000##FFFFFF
##1F668D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#455C8C
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f668d;
/* rgb */ color: rgb(31, 102, 141);
/* oklch */ color: oklch(48.6% 0.093 237.6);
Tailwind
colors: {
  custom: {
    50: '#6c91ae',
    500: '#1f668d',
    950: '#000000',
  },
}
SCSS
$custom: #1f668d;
$custom-light: #6c91ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f668d",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 141
  },
  "hsl": {
    "h": 201.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.09254,
    "h": 237.6
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#1F668D
secondary
#BB744D
accent
#7C41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F668D

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

Preview Lab → · Contrast checker → · Palette generator →

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