#1F6298#1F6298

#1F6298 is a mid, moderate cyan. Relative luminance 0.113; OKLCH L 48.2% C 0.109 H 247.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#1F6298
RGBrgb(31, 98, 152)
HSLhsl(207, 66%, 36%)
HSVhsv(207, 80%, 60%)
CMYKcmyk(79.6%, 35.5%, 0%, 40.4%)
CIE-LABlab(40.07, -1.02, -35.35)
CIE-LCHlch(40.07, 35.37, 268.35°)
OKLaboklab(48.21% -0.0422 -0.1006)
OKLCHoklch(48.21% 0.109 247.3)
XYZxyz(10.5981, 11.2924, 31.3208)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6298 #98551F
analogous
#1F9891 #1F6298 #1F2598
triadic
#1F6298 #981F62 #62981F
tetradic
#1F6298 #911F98 #98551F #25981F
square
#1F6298 #911F98 #98551F #25981F
split-complementary
#1F6298 #981F25 #98911F
monochromatic
#0A2032 #154165 #1F6298 #2983CB #55A0DC

Accessibility & contrast

On white

6.44
#1F6298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#1F6298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6298
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6298#FFFFFF#000000##FFFFFF
##1F62981.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49649A
Deuteranopia (green-blind)
#375997
Tritanopia (blue-blind)
#006F76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6298;
/* rgb */ color: rgb(31, 98, 152);
/* oklch */ color: oklch(48.2% 0.109 247.3);
Tailwind
colors: {
  custom: {
    50: '#6e8eb6',
    500: '#1f6298',
    950: '#000000',
  },
}
SCSS
$custom: #1f6298;
$custom-light: #6e8eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6298",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 152
  },
  "hsl": {
    "h": 206.777,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.10906,
    "h": 247.3
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F6298

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

Preview Lab → · Contrast checker → · Palette generator →

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