#1F638E#1F638E

#1F638E is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 47.9% C 0.096 H 241.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#1F638E
RGBrgb(31, 99, 142)
HSLhsl(203, 64%, 34%)
HSVhsv(203, 78%, 56%)
CMYKcmyk(78.2%, 30.3%, 0%, 44.3%)
CIE-LABlab(39.86, -5.46, -29.68)
CIE-LCHlch(39.86, 30.18, 259.57°)
OKLaboklab(47.87% -0.0463 -0.084)
OKLCHoklch(47.87% 0.096 241.2)
XYZxyz(9.9075, 11.1668, 27.2192)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F638E #8E4A1F
analogous
#1F8E82 #1F638E #1F2C8E
triadic
#1F638E #8E1F63 #638E1F
tetradic
#1F638E #821F8E #8E4A1F #2C8E1F
square
#1F638E #821F8E #8E4A1F #2C8E1F
split-complementary
#1F638E #8E1F2C #8E821F
monochromatic
#091D2A #14405C #1F638E #2A86C0 #4FA3D9

Accessibility & contrast

On white

6.49
#1F638E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#1F638E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F638E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F638E#FFFFFF#000000##FFFFFF
##1F638E1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6490
Deuteranopia (green-blind)
#40598D
Tritanopia (blue-blind)
#006E72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f638e;
/* rgb */ color: rgb(31, 99, 142);
/* oklch */ color: oklch(47.9% 0.096 241.2);
Tailwind
colors: {
  custom: {
    50: '#6c8faf',
    500: '#1f638e',
    950: '#000000',
  },
}
SCSS
$custom: #1f638e;
$custom-light: #6c8faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f638e",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 142
  },
  "hsl": {
    "h": 203.243,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47869,
    "c": 0.0959,
    "h": 241.2
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#1F638E
secondary
#BB784D
accent
#8141E7
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #1F638E

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

Preview Lab → · Contrast checker → · Palette generator →

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