#1F628A#1F628A

#1F628A is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.4% C 0.092 H 239.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#1F628A
RGBrgb(31, 98, 138)
HSLhsl(202, 63%, 33%)
HSVhsv(202, 78%, 54%)
CMYKcmyk(77.5%, 29%, 0%, 45.9%)
CIE-LABlab(39.34, -6.36, -28.07)
CIE-LCHlch(39.34, 28.79, 257.23°)
OKLaboklab(47.4% -0.0466 -0.0794)
OKLCHoklch(47.4% 0.092 239.6)
XYZxyz(9.5184, 10.8605, 25.6345)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F628A #8A471F
analogous
#1F8A7C #1F628A #1F2C8A
triadic
#1F628A #8A1F62 #628A1F
tetradic
#1F628A #7C1F8A #8A471F #2C8A1F
square
#1F628A #7C1F8A #8A471F #2C8A1F
split-complementary
#1F628A #8A1F2C #8A7C1F
monochromatic
#091B26 #143F58 #1F628A #2A85BC #4CA3D7

Accessibility & contrast

On white

6.62
#1F628A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F628A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F628A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F628A#FFFFFF#000000##FFFFFF
##1F628A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#415889
Tritanopia (blue-blind)
#006C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f628a;
/* rgb */ color: rgb(31, 98, 138);
/* oklch */ color: oklch(47.4% 0.092 239.6);
Tailwind
colors: {
  custom: {
    50: '#6b8eac',
    500: '#1f628a',
    950: '#000000',
  },
}
SCSS
$custom: #1f628a;
$custom-light: #6b8eac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f628a",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 138
  },
  "hsl": {
    "h": 202.43,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.09204,
    "h": 239.6
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#1F628A
secondary
#BA744B
accent
#7F41E6
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F628A

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

Preview Lab → · Contrast checker → · Palette generator →

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