#1F6795#1F6795

#1F6795 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.101 H 241.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1F6795
RGBrgb(31, 103, 149)
HSLhsl(203, 66%, 35%)
HSVhsv(203, 79%, 58%)
CMYKcmyk(79.2%, 30.9%, 0%, 41.6%)
CIE-LABlab(41.47, -5.26, -31.35)
CIE-LCHlch(41.47, 31.79, 260.48°)
OKLaboklab(49.26% -0.0479 -0.0888)
OKLCHoklch(49.26% 0.101 241.7)
XYZxyz(10.8380, 12.1604, 30.2039)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6795 #954D1F
analogous
#1F9588 #1F6795 #1F2C95
triadic
#1F6795 #951F67 #67951F
tetradic
#1F6795 #881F95 #954D1F #2C951F
square
#1F6795 #881F95 #954D1F #2C951F
split-complementary
#1F6795 #951F2C #95881F
monochromatic
#0A2130 #144462 #1F6795 #2A8AC8 #53A6DB

Accessibility & contrast

On white

6.12
#1F6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6795
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6795#FFFFFF#000000##FFFFFF
##1F67951.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516897
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f6795;
/* rgb */ color: rgb(31, 103, 149);
/* oklch */ color: oklch(49.3% 0.101 241.7);
Tailwind
colors: {
  custom: {
    50: '#6d92b4',
    500: '#1f6795',
    950: '#000000',
  },
}
SCSS
$custom: #1f6795;
$custom-light: #6d92b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6795",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 203.39,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.1009,
    "h": 241.7
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#1F6795
secondary
#BF7C51
accent
#813FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6795

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

Preview Lab → · Contrast checker → · Palette generator →

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