#1F638B#1F638B

#1F638B is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 47.7% C 0.092 H 239.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#1F638B
RGBrgb(31, 99, 139)
HSLhsl(202, 64%, 33%)
HSVhsv(202, 78%, 55%)
CMYKcmyk(77.7%, 28.8%, 0%, 45.5%)
CIE-LABlab(39.71, -6.59, -28.10)
CIE-LCHlch(39.71, 28.87, 256.79°)
OKLaboklab(47.7% -0.0473 -0.0794)
OKLCHoklch(47.7% 0.092 239.2)
XYZxyz(9.6853, 11.0779, 26.0489)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F638B #8B471F
analogous
#1F8B7D #1F638B #1F2D8B
triadic
#1F638B #8B1F63 #638B1F
tetradic
#1F638B #7D1F8B #8B471F #2D8B1F
square
#1F638B #7D1F8B #8B471F #2D8B1F
split-complementary
#1F638B #8B1F2D #8B7D1F
monochromatic
#091C27 #143F59 #1F638B #2A87BD #4DA4D7

Accessibility & contrast

On white

6.53
#1F638B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#1F638B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F638B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F638B#FFFFFF#000000##FFFFFF
##1F638B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638D
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f638b;
/* rgb */ color: rgb(31, 99, 139);
/* oklch */ color: oklch(47.7% 0.092 239.2);
Tailwind
colors: {
  custom: {
    50: '#6b8fad',
    500: '#1f638b',
    950: '#000000',
  },
}
SCSS
$custom: #1f638b;
$custom-light: #6b8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f638b",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 139
  },
  "hsl": {
    "h": 202.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.09244,
    "h": 239.2
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#1F638B
secondary
#BA754C
accent
#7E41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F638B

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

Preview Lab → · Contrast checker → · Palette generator →

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