#1F6396#1F6396

#1F6396 is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.3% C 0.106 H 245.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#1F6396
RGBrgb(31, 99, 150)
HSLhsl(206, 66%, 35%)
HSVhsv(206, 79%, 59%)
CMYKcmyk(79.3%, 34%, 0%, 41.2%)
CIE-LABlab(40.27, -2.41, -33.84)
CIE-LCHlch(40.27, 33.92, 265.92°)
OKLaboklab(48.33% -0.0437 -0.0961)
OKLCHoklch(48.33% 0.106 245.5)
XYZxyz(10.5298, 11.4157, 30.4967)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6396 #96521F
analogous
#1F968D #1F6396 #1F2896
triadic
#1F6396 #961F63 #63961F
tetradic
#1F6396 #8D1F96 #96521F #28961F
square
#1F6396 #8D1F96 #96521F #28961F
split-complementary
#1F6396 #961F28 #968D1F
monochromatic
#0A2031 #154263 #1F6396 #2984C9 #54A1DC

Accessibility & contrast

On white

6.40
#1F6396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#1F6396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6396
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6396#FFFFFF#000000##FFFFFF
##1F63961.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6598
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#006F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6396;
/* rgb */ color: rgb(31, 99, 150);
/* oklch */ color: oklch(48.3% 0.106 245.5);
Tailwind
colors: {
  custom: {
    50: '#6e8fb5',
    500: '#1f6396',
    950: '#000000',
  },
}
SCSS
$custom: #1f6396;
$custom-light: #6e8fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6396",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 150
  },
  "hsl": {
    "h": 205.714,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.1056,
    "h": 245.5
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#1F6396
secondary
#BF8152
accent
#883FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F6396

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

Preview Lab → · Contrast checker → · Palette generator →

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