#1F627E#1F627E

#1F627E is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.8% C 0.079 H 230.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#1F627E
RGBrgb(31, 98, 126)
HSLhsl(198, 61%, 31%)
HSVhsv(198, 75%, 49%)
CMYKcmyk(75.4%, 22.2%, 0%, 50.6%)
CIE-LABlab(38.78, -10.81, -21.67)
CIE-LCHlch(38.78, 24.22, 243.48°)
OKLaboklab(46.76% -0.051 -0.0608)
OKLCHoklch(46.76% 0.079 230)
XYZxyz(8.6971, 10.5320, 21.3091)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F627E #7E3B1F
analogous
#1F7E6A #1F627E #1F327E
triadic
#1F627E #7E1F62 #627E1F
tetradic
#1F627E #6A1F7E #7E3B1F #327E1F
square
#1F627E #6A1F7E #7E3B1F #327E1F
split-complementary
#1F627E #7E1F32 #7E6A1F
monochromatic
#07161C #133C4D #1F627E #2B88AF #46A8D1

Accessibility & contrast

On white

6.76
#1F627E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#1F627E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F627E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F627E#FFFFFF#000000##FFFFFF
##1F627E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#47577E
Tritanopia (blue-blind)
#006A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f627e;
/* rgb */ color: rgb(31, 98, 126);
/* oklch */ color: oklch(46.8% 0.079 230.0);
Tailwind
colors: {
  custom: {
    50: '#698ea3',
    500: '#1f627e',
    950: '#000000',
  },
}
SCSS
$custom: #1f627e;
$custom-light: #698ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f627e",
  "rgb": {
    "r": 31,
    "g": 98,
    "b": 126
  },
  "hsl": {
    "h": 197.684,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.46761,
    "c": 0.07941,
    "h": 230
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#1F627E
secondary
#B16748
accent
#7344E4
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#070C0F
muted
#7A7D7F

Preview Lab

Preview with #1F627E

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

Preview Lab → · Contrast checker → · Palette generator →

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