#1F628C#1F628C

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

Color values

HEX#1F628C
RGBrgb(31, 98, 140)
HSLhsl(203, 64%, 34%)
HSVhsv(203, 78%, 55%)
CMYKcmyk(77.9%, 30%, 0%, 45.1%)
CIE-LABlab(39.44, -5.61, -29.13)
CIE-LCHlch(39.44, 29.66, 259.10°)
OKLaboklab(47.51% -0.0459 -0.0824)
OKLCHoklch(47.51% 0.094 240.9)
XYZxyz(9.6645, 10.9190, 26.4041)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F628C #8C491F
analogous
#1F8C7F #1F628C #1F2B8C
triadic
#1F628C #8C1F62 #628C1F
tetradic
#1F628C #7F1F8C #8C491F #2B8C1F
square
#1F628C #7F1F8C #8C491F #2B8C1F
split-complementary
#1F628C #8C1F2B #8C7F1F
monochromatic
#091C28 #143F5A #1F628C #2A85BE #4EA3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F628C#FFFFFF#000000##FFFFFF
##1F628C1.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)
#4E638E
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#006C71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f628c;
/* rgb */ color: rgb(31, 98, 140);
/* oklch */ color: oklch(47.5% 0.094 240.9);
Tailwind
colors: {
  custom: {
    50: '#6c8eae',
    500: '#1f628c',
    950: '#000000',
  },
}
SCSS
$custom: #1f628c;
$custom-light: #6c8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f628c",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 140
  },
  "hsl": {
    "h": 203.119,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.09434,
    "h": 240.9
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#1F628C
secondary
#BB774C
accent
#8141E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F628C

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

Preview Lab → · Contrast checker → · Palette generator →

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