#1F628B#1F628B

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

Color values

HEX#1F628B
RGBrgb(31, 98, 139)
HSLhsl(203, 64%, 33%)
HSVhsv(203, 78%, 55%)
CMYKcmyk(77.7%, 29.5%, 0%, 45.5%)
CIE-LABlab(39.39, -5.99, -28.60)
CIE-LCHlch(39.39, 29.22, 258.18°)
OKLaboklab(47.45% -0.0463 -0.0809)
OKLCHoklch(47.45% 0.093 240.2)
XYZxyz(9.5911, 10.8896, 26.0175)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F628B #8B481F
analogous
#1F8B7E #1F628B #1F2C8B
triadic
#1F628B #8B1F62 #628B1F
tetradic
#1F628B #7E1F8B #8B481F #2C8B1F
square
#1F628B #7E1F8B #8B481F #2C8B1F
split-complementary
#1F628B #8B1F2C #8B7E1F
monochromatic
#091B27 #143F59 #1F628B #2A85BD #4DA3D7

Accessibility & contrast

On white

6.61
#1F628B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F628B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F628B#FFFFFF#000000##FFFFFF
##1F628B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628D
Deuteranopia (green-blind)
#40588A
Tritanopia (blue-blind)
#006C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f628b;
/* rgb */ color: rgb(31, 98, 139);
/* oklch */ color: oklch(47.5% 0.093 240.2);
Tailwind
colors: {
  custom: {
    50: '#6b8ead',
    500: '#1f628b',
    950: '#000000',
  },
}
SCSS
$custom: #1f628b;
$custom-light: #6b8ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1f628b",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 139
  },
  "hsl": {
    "h": 202.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.09319,
    "h": 240.2
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#1F628B
secondary
#BA764C
accent
#8041E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F628B

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

Preview Lab → · Contrast checker → · Palette generator →

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