#1F68A8#1F68A8

#1F68A8 is a mid, vivid cyan. Relative luminance 0.130; OKLCH L 50.6% C 0.123 H 249.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1F68A8
RGBrgb(31, 104, 168)
HSLhsl(208, 69%, 39%)
HSVhsv(208, 82%, 66%)
CMYKcmyk(81.5%, 38.1%, 0%, 34.1%)
CIE-LABlab(42.79, 1.41, -40.54)
CIE-LCHlch(42.79, 40.56, 271.99°)
OKLaboklab(50.63% -0.0432 -0.1157)
OKLCHoklch(50.63% 0.123 249.5)
XYZxyz(12.5806, 13.0175, 38.8878)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F68A8 #A85F1F
analogous
#1FA8A4 #1F68A8 #1F24A8
triadic
#1F68A8 #A81F68 #68A81F
tetradic
#1F68A8 #A41FA8 #A85F1F #24A81F
square
#1F68A8 #A41FA8 #A85F1F #24A81F
split-complementary
#1F68A8 #A81F24 #A8A41F
monochromatic
#0C2841 #154874 #1F68A8 #2C88D8 #60A5E2

Accessibility & contrast

On white

5.83
#1F68A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1F68A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F68A8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F68A8#FFFFFF#000000##FFFFFF
##1F68A81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAB
Deuteranopia (green-blind)
#345FA7
Tritanopia (blue-blind)
#007780
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f68a8;
/* rgb */ color: rgb(31, 104, 168);
/* oklch */ color: oklch(50.6% 0.123 249.5);
Tailwind
colors: {
  custom: {
    50: '#7192c2',
    500: '#1f68a8',
    950: '#000000',
  },
}
SCSS
$custom: #1f68a8;
$custom-light: #7192c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f68a8",
  "rgb": {
    "r": 31,
    "g": 104,
    "b": 168
  },
  "hsl": {
    "h": 208.029,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.12346,
    "h": 249.5
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#1F68A8
secondary
#C68E5D
accent
#8E3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090D12
muted
#7B7D81

Preview Lab

Preview with #1F68A8

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

Preview Lab → · Contrast checker → · Palette generator →

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