#1B628E#1B628E

#1B628E is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.5% C 0.098 H 241.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#1B628E
RGBrgb(27, 98, 142)
HSLhsl(203, 68%, 33%)
HSVhsv(203, 81%, 56%)
CMYKcmyk(81%, 31%, 0%, 44.3%)
CIE-LABlab(39.45, -5.33, -30.34)
CIE-LCHlch(39.45, 30.80, 260.03°)
OKLaboklab(47.51% -0.0472 -0.086)
OKLCHoklch(47.51% 0.098 241.2)
XYZxyz(9.7002, 10.9202, 27.1825)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B628E #8E471B
analogous
#1B8E80 #1B628E #1B288E
triadic
#1B628E #8E1B62 #628E1B
tetradic
#1B628E #801B8E #8E471B #288E1B
square
#1B628E #801B8E #8E471B #288E1B
split-complementary
#1B628E #8E1B28 #8E801B
monochromatic
#071B27 #113F5B #1B628E #2585C1 #47A3DC

Accessibility & contrast

On white

6.60
#1B628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#1B628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B628E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B628E#FFFFFF#000000##FFFFFF
##1B628E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#3E588D
Tritanopia (blue-blind)
#006D72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1b628e;
/* rgb */ color: rgb(27, 98, 142);
/* oklch */ color: oklch(47.5% 0.098 241.2);
Tailwind
colors: {
  custom: {
    50: '#6b8eaf',
    500: '#1b628e',
    950: '#000000',
  },
}
SCSS
$custom: #1b628e;
$custom-light: #6b8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1b628e",
  "rgb": {
    "r": 27,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 202.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.0981,
    "h": 241.2
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#1B628E
secondary
#BE7447
accent
#7F3DEB
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1B628E

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

Preview Lab → · Contrast checker → · Palette generator →

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