#1F628E#1F628E

#1F628E is a mid, moderate cyan. Relative luminance 0.110; OKLCH L 47.6% C 0.097 H 242.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#1F628E
RGBrgb(31, 98, 142)
HSLhsl(204, 64%, 34%)
HSVhsv(204, 78%, 56%)
CMYKcmyk(78.2%, 31%, 0%, 44.3%)
CIE-LABlab(39.54, -4.85, -30.18)
CIE-LCHlch(39.54, 30.56, 260.87°)
OKLaboklab(47.62% -0.0453 -0.0855)
OKLCHoklch(47.62% 0.097 242.1)
XYZxyz(9.8133, 10.9785, 27.1878)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F628E #8E4B1F
analogous
#1F8E83 #1F628E #1F2B8E
triadic
#1F628E #8E1F62 #628E1F
tetradic
#1F628E #831F8E #8E4B1F #2B8E1F
square
#1F628E #831F8E #8E4B1F #2B8E1F
split-complementary
#1F628E #8E1F2B #8E831F
monochromatic
#091D2A #143F5C #1F628E #2A85C0 #4FA2D9

Accessibility & contrast

On white

6.57
#1F628E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#1F628E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F628E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F628E#FFFFFF#000000##FFFFFF
##1F628E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f628e;
/* rgb */ color: rgb(31, 98, 142);
/* oklch */ color: oklch(47.6% 0.097 242.1);
Tailwind
colors: {
  custom: {
    50: '#6c8eaf',
    500: '#1f628e',
    950: '#000000',
  },
}
SCSS
$custom: #1f628e;
$custom-light: #6c8eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1f628e",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 142
  },
  "hsl": {
    "h": 203.784,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.09672,
    "h": 242.1
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

primary
#1F628E
secondary
#BB794D
accent
#8341E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F628E

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

Preview Lab → · Contrast checker → · Palette generator →

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