#1F6198#1F6198

#1F6198 is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.0% C 0.110 H 248.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#1F6198
RGBrgb(31, 97, 152)
HSLhsl(207, 66%, 36%)
HSVhsv(207, 80%, 60%)
CMYKcmyk(79.6%, 36.2%, 0%, 40.4%)
CIE-LABlab(39.76, -0.39, -35.84)
CIE-LCHlch(39.76, 35.85, 269.38°)
OKLaboklab(47.96% -0.0412 -0.102)
OKLCHoklch(47.96% 0.11 248)
XYZxyz(10.5051, 11.1064, 31.2898)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6198 #98561F
analogous
#1F9892 #1F6198 #1F2498
triadic
#1F6198 #981F61 #61981F
tetradic
#1F6198 #921F98 #98561F #24981F
square
#1F6198 #921F98 #98561F #24981F
split-complementary
#1F6198 #981F24 #98921F
monochromatic
#0A2032 #154165 #1F6198 #2981CB #559FDC

Accessibility & contrast

On white

6.52
#1F6198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#1F6198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6198
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6198#FFFFFF#000000##FFFFFF
##1F61981.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649A
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#006E75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6198;
/* rgb */ color: rgb(31, 97, 152);
/* oklch */ color: oklch(48.0% 0.110 248.0);
Tailwind
colors: {
  custom: {
    50: '#6e8db6',
    500: '#1f6198',
    950: '#000000',
  },
}
SCSS
$custom: #1f6198;
$custom-light: #6e8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6198",
  "rgb": {
    "r": 31,
    "g": 97,
    "b": 152
  },
  "hsl": {
    "h": 207.273,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47961,
    "c": 0.11005,
    "h": 248
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#1F6198
secondary
#C08453
accent
#8C3FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6198

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

Preview Lab → · Contrast checker → · Palette generator →

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