#1D638C#1D638C

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

Color values

HEX#1D638C
RGBrgb(29, 99, 140)
HSLhsl(202, 66%, 33%)
HSVhsv(202, 79%, 55%)
CMYKcmyk(79.3%, 29.3%, 0%, 45.1%)
CIE-LABlab(39.71, -6.47, -28.71)
CIE-LCHlch(39.71, 29.43, 257.30°)
OKLaboklab(47.7% -0.0479 -0.0812)
OKLCHoklch(47.7% 0.094 239.4)
XYZxyz(9.7003, 11.0772, 26.4327)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D638C #8C461D
analogous
#1D8C7D #1D638C #1D2C8C
triadic
#1D638C #8C1D63 #638C1D
tetradic
#1D638C #7D1D8C #8C461D #2C8C1D
square
#1D638C #7D1D8C #8C461D #2C8C1D
split-complementary
#1D638C #8C1D2C #8C7D1D
monochromatic
#081B27 #123F59 #1D638C #2887BF #4AA4D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D638C#FFFFFF#000000##FFFFFF
##1D638C1.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)
#50638E
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1d638c;
/* rgb */ color: rgb(29, 99, 140);
/* oklch */ color: oklch(47.7% 0.094 239.4);
Tailwind
colors: {
  custom: {
    50: '#6b8fae',
    500: '#1d638c',
    950: '#000000',
  },
}
SCSS
$custom: #1d638c;
$custom-light: #6b8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d638c",
  "rgb": {
    "r": 29,
    "g": 99,
    "b": 140
  },
  "hsl": {
    "h": 202.162,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.09432,
    "h": 239.4
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#1D638C
secondary
#BC7349
accent
#7E3FE9
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1D638C

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

Preview Lab → · Contrast checker → · Palette generator →

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