#1D638B#1D638B

#1D638B is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.6% C 0.093 H 238.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#1D638B
RGBrgb(29, 99, 139)
HSLhsl(202, 65%, 33%)
HSVhsv(202, 79%, 55%)
CMYKcmyk(79.1%, 28.8%, 0%, 45.5%)
CIE-LABlab(39.66, -6.85, -28.19)
CIE-LCHlch(39.66, 29.01, 256.34°)
OKLaboklab(47.65% -0.0483 -0.0797)
OKLCHoklch(47.65% 0.093 238.8)
XYZxyz(9.6269, 11.0478, 26.0462)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D638B #8B451D
analogous
#1D8B7C #1D638B #1D2C8B
triadic
#1D638B #8B1D63 #638B1D
tetradic
#1D638B #7C1D8B #8B451D #2C8B1D
square
#1D638B #7C1D8B #8B451D #2C8B1D
split-complementary
#1D638B #8B1D2C #8B7C1D
monochromatic
#081B26 #123F58 #1D638B #2887BE #49A5D9

Accessibility & contrast

On white

6.54
#1D638B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#1D638B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D638B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D638B#FFFFFF#000000##FFFFFF
##1D638B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d638b;
/* rgb */ color: rgb(29, 99, 139);
/* oklch */ color: oklch(47.6% 0.093 238.8);
Tailwind
colors: {
  custom: {
    50: '#6b8fad',
    500: '#1d638b',
    950: '#000000',
  },
}
SCSS
$custom: #1d638b;
$custom-light: #6b8fad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d638b",
  "rgb": {
    "r": 29,
    "g": 99,
    "b": 139
  },
  "hsl": {
    "h": 201.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.09318,
    "h": 238.8
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#1D638B
secondary
#BB7249
accent
#7D3FE8
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1D638B

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

Preview Lab → · Contrast checker → · Palette generator →

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