#1F6794#1F6794

#1F6794 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.2% C 0.100 H 241.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#1F6794
RGBrgb(31, 103, 148)
HSLhsl(203, 65%, 35%)
HSVhsv(203, 79%, 58%)
CMYKcmyk(79.1%, 30.4%, 0%, 42%)
CIE-LABlab(41.42, -5.63, -30.83)
CIE-LCHlch(41.42, 31.34, 259.65°)
OKLaboklab(49.2% -0.0482 -0.0873)
OKLCHoklch(49.2% 0.1 241.1)
XYZxyz(10.7585, 12.1286, 29.7853)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6794 #944C1F
analogous
#1F9486 #1F6794 #1F2C94
triadic
#1F6794 #941F67 #67941F
tetradic
#1F6794 #861F94 #944C1F #2C941F
square
#1F6794 #861F94 #944C1F #2C941F
split-complementary
#1F6794 #941F2C #94861F
monochromatic
#0A212F #144461 #1F6794 #2A8AC7 #53A6DB

Accessibility & contrast

On white

6.13
#1F6794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#1F6794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6794
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6794#FFFFFF#000000##FFFFFF
##1F67941.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526896
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f6794;
/* rgb */ color: rgb(31, 103, 148);
/* oklch */ color: oklch(49.2% 0.100 241.1);
Tailwind
colors: {
  custom: {
    50: '#6d92b3',
    500: '#1f6794',
    950: '#000000',
  },
}
SCSS
$custom: #1f6794;
$custom-light: #6d92b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6794",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 148
  },
  "hsl": {
    "h": 203.077,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.09974,
    "h": 241.1
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#1F6794
secondary
#BE7B51
accent
#803FE8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6794

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

Preview Lab → · Contrast checker → · Palette generator →

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