#1F6397#1F6397

#1F6397 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.4% C 0.107 H 246.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#1F6397
RGBrgb(31, 99, 151)
HSLhsl(206, 66%, 36%)
HSVhsv(206, 79%, 59%)
CMYKcmyk(79.5%, 34.4%, 0%, 40.8%)
CIE-LABlab(40.33, -2.03, -34.35)
CIE-LCHlch(40.33, 34.41, 266.62°)
OKLaboklab(48.39% -0.0434 -0.0976)
OKLCHoklch(48.39% 0.107 246)
XYZxyz(10.6107, 11.4481, 30.9226)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6397 #97531F
analogous
#1F978F #1F6397 #1F2797
triadic
#1F6397 #971F63 #63971F
tetradic
#1F6397 #8F1F97 #97531F #27971F
square
#1F6397 #8F1F97 #97531F #27971F
split-complementary
#1F6397 #971F27 #978F1F
monochromatic
#0A2031 #154264 #1F6397 #2984CA #54A1DC

Accessibility & contrast

On white

6.38
#1F6397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#1F6397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6397
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6397#FFFFFF#000000##FFFFFF
##1F63971.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#3A5A96
Tritanopia (blue-blind)
#007076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6397;
/* rgb */ color: rgb(31, 99, 151);
/* oklch */ color: oklch(48.4% 0.107 246.0);
Tailwind
colors: {
  custom: {
    50: '#6e8fb6',
    500: '#1f6397',
    950: '#000000',
  },
}
SCSS
$custom: #1f6397;
$custom-light: #6e8fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6397",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 206,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.10685,
    "h": 246
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#1F6397
secondary
#BF8252
accent
#893FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6397

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

Preview Lab → · Contrast checker → · Palette generator →

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