#1F628D#1F628D

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

Color values

HEX#1F628D
RGBrgb(31, 98, 141)
HSLhsl(203, 64%, 34%)
HSVhsv(203, 78%, 55%)
CMYKcmyk(78%, 30.5%, 0%, 44.7%)
CIE-LABlab(39.49, -5.23, -29.65)
CIE-LCHlch(39.49, 30.11, 260.00°)
OKLaboklab(47.56% -0.0456 -0.0839)
OKLCHoklch(47.56% 0.096 241.5)
XYZxyz(9.7386, 10.9486, 26.7942)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F628D #8D4A1F
analogous
#1F8D81 #1F628D #1F2B8D
triadic
#1F628D #8D1F62 #628D1F
tetradic
#1F628D #811F8D #8D4A1F #2B8D1F
square
#1F628D #811F8D #8D4A1F #2B8D1F
split-complementary
#1F628D #8D1F2B #8D811F
monochromatic
#091C29 #143F5B #1F628D #2A85BF #4EA2D8

Accessibility & contrast

On white

6.58
#1F628D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#1F628D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F628D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F628D#FFFFFF#000000##FFFFFF
##1F628D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#3F588C
Tritanopia (blue-blind)
#006D71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f628d;
/* rgb */ color: rgb(31, 98, 141);
/* oklch */ color: oklch(47.6% 0.096 241.5);
Tailwind
colors: {
  custom: {
    50: '#6c8eae',
    500: '#1f628d',
    950: '#000000',
  },
}
SCSS
$custom: #1f628d;
$custom-light: #6c8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f628d",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 203.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.09553,
    "h": 241.5
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#1F628D
secondary
#BB784D
accent
#8241E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F628D

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

Preview Lab → · Contrast checker → · Palette generator →

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