#1F668E#1F668E

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

Color values

HEX#1F668E
RGBrgb(31, 102, 142)
HSLhsl(202, 64%, 34%)
HSVhsv(202, 78%, 56%)
CMYKcmyk(78.2%, 28.2%, 0%, 44.3%)
CIE-LABlab(40.81, -7.28, -28.19)
CIE-LCHlch(40.81, 29.12, 255.51°)
OKLaboklab(48.62% -0.0493 -0.0796)
OKLCHoklch(48.62% 0.094 238.3)
XYZxyz(10.1970, 11.7458, 27.3157)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F668E #8E471F
analogous
#1F8E7F #1F668E #1F2E8E
triadic
#1F668E #8E1F66 #668E1F
tetradic
#1F668E #7F1F8E #8E471F #2E8E1F
square
#1F668E #7F1F8E #8E471F #2E8E1F
split-complementary
#1F668E #8E1F2E #8E7F1F
monochromatic
#091E2A #14425C #1F668E #2A8AC0 #4FA7D9

Accessibility & contrast

On white

6.27
#1F668E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#1F668E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F668E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F668E#FFFFFF#000000##FFFFFF
##1F668E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#445C8D
Tritanopia (blue-blind)
#007074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f668e;
/* rgb */ color: rgb(31, 102, 142);
/* oklch */ color: oklch(48.6% 0.094 238.3);
Tailwind
colors: {
  custom: {
    50: '#6c91af',
    500: '#1f668e',
    950: '#000000',
  },
}
SCSS
$custom: #1f668e;
$custom-light: #6c91af;
$custom-dark: #000000;
JSON
{
  "hex": "#1f668e",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 142
  },
  "hsl": {
    "h": 201.622,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.48622,
    "c": 0.09365,
    "h": 238.3
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#1F668E
secondary
#BB754D
accent
#7D41E7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #1F668E

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

Preview Lab → · Contrast checker → · Palette generator →

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