#1F6398#1F6398

#1F6398 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.4% C 0.108 H 246.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#1F6398
RGBrgb(31, 99, 152)
HSLhsl(206, 66%, 36%)
HSVhsv(206, 80%, 60%)
CMYKcmyk(79.6%, 34.9%, 0%, 40.4%)
CIE-LABlab(40.38, -1.64, -34.86)
CIE-LCHlch(40.38, 34.90, 267.30°)
OKLaboklab(48.45% -0.0431 -0.0991)
OKLCHoklch(48.45% 0.108 246.5)
XYZxyz(10.6922, 11.4807, 31.3521)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6398 #98541F
analogous
#1F9890 #1F6398 #1F2698
triadic
#1F6398 #981F63 #63981F
tetradic
#1F6398 #901F98 #98541F #26981F
square
#1F6398 #901F98 #98541F #26981F
split-complementary
#1F6398 #981F26 #98901F
monochromatic
#0A2132 #154265 #1F6398 #2984CB #55A1DC

Accessibility & contrast

On white

6.37
#1F6398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#1F6398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6398
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6398#FFFFFF#000000##FFFFFF
##1F63981.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A659A
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#007076
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6398;
/* rgb */ color: rgb(31, 99, 152);
/* oklch */ color: oklch(48.4% 0.108 246.5);
Tailwind
colors: {
  custom: {
    50: '#6e8fb6',
    500: '#1f6398',
    950: '#000000',
  },
}
SCSS
$custom: #1f6398;
$custom-light: #6e8fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6398",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 152
  },
  "hsl": {
    "h": 206.281,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.1081,
    "h": 246.5
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F6398

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

Preview Lab → · Contrast checker → · Palette generator →

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