#1B638C#1B638C

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

Color values

HEX#1B638C
RGBrgb(27, 99, 140)
HSLhsl(202, 68%, 33%)
HSVhsv(202, 81%, 55%)
CMYKcmyk(80.7%, 29.3%, 0%, 45.1%)
CIE-LABlab(39.66, -6.71, -28.79)
CIE-LCHlch(39.66, 29.56, 256.89°)
OKLaboklab(47.65% -0.0489 -0.0815)
OKLCHoklch(47.65% 0.095 239)
XYZxyz(9.6456, 11.0490, 26.4302)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B638C #8C441B
analogous
#1B8C7C #1B638C #1B2A8C
triadic
#1B638C #8C1B63 #638C1B
tetradic
#1B638C #7C1B8C #8C441B #2A8C1B
square
#1B638C #7C1B8C #8C441B #2A8C1B
split-complementary
#1B638C #8C1B2A #8C7C1B
monochromatic
#071A25 #113F59 #1B638C #2587BF #46A5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1b638c;
/* rgb */ color: rgb(27, 99, 140);
/* oklch */ color: oklch(47.7% 0.095 239.0);
Tailwind
colors: {
  custom: {
    50: '#6a8fae',
    500: '#1b638c',
    950: '#000000',
  },
}
SCSS
$custom: #1b638c;
$custom-light: #6a8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#1b638c",
  "rgb": {
    "r": 27,
    "g": 99,
    "b": 140
  },
  "hsl": {
    "h": 201.77,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.47652,
    "c": 0.09501,
    "h": 239
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#1B638C
secondary
#BD7146
accent
#7C3DEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1B638C

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

Preview Lab → · Contrast checker → · Palette generator →

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