#1F638D#1F638D

#1F638D is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 47.8% C 0.095 H 240.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#1F638D
RGBrgb(31, 99, 141)
HSLhsl(203, 64%, 34%)
HSVhsv(203, 78%, 55%)
CMYKcmyk(78%, 29.8%, 0%, 44.7%)
CIE-LABlab(39.81, -5.84, -29.16)
CIE-LCHlch(39.81, 29.73, 258.67°)
OKLaboklab(47.81% -0.0466 -0.0825)
OKLCHoklch(47.81% 0.095 240.5)
XYZxyz(9.8327, 11.1369, 26.8256)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F638D #8D491F
analogous
#1F8D80 #1F638D #1F2C8D
triadic
#1F638D #8D1F63 #638D1F
tetradic
#1F638D #801F8D #8D491F #2C8D1F
square
#1F638D #801F8D #8D491F #2C8D1F
split-complementary
#1F638D #8D1F2C #8D801F
monochromatic
#091D29 #14405B #1F638D #2A86BF #4EA3D8

Accessibility & contrast

On white

6.51
#1F638D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F638D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F638D#FFFFFF#000000##FFFFFF
##1F638D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F648F
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#006D72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f638d;
/* rgb */ color: rgb(31, 99, 141);
/* oklch */ color: oklch(47.8% 0.095 240.5);
Tailwind
colors: {
  custom: {
    50: '#6c8fae',
    500: '#1f638d',
    950: '#000000',
  },
}
SCSS
$custom: #1f638d;
$custom-light: #6c8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f638d",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 141
  },
  "hsl": {
    "h": 202.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.09473,
    "h": 240.5
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#1F638D
secondary
#BB774D
accent
#8041E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F638D

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

Preview Lab → · Contrast checker → · Palette generator →

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