#1F658D#1F658D

#1F658D is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.3% C 0.093 H 238.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#1F658D
RGBrgb(31, 101, 141)
HSLhsl(202, 64%, 34%)
HSVhsv(202, 78%, 55%)
CMYKcmyk(78%, 28.4%, 0%, 44.7%)
CIE-LABlab(40.44, -7.06, -28.16)
CIE-LCHlch(40.44, 29.03, 255.93°)
OKLaboklab(48.32% -0.0486 -0.0796)
OKLCHoklch(48.32% 0.093 238.6)
XYZxyz(10.0246, 11.5206, 26.8895)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F658D #8D471F
analogous
#1F8D7E #1F658D #1F2E8D
triadic
#1F658D #8D1F65 #658D1F
tetradic
#1F658D #7E1F8D #8D471F #2E8D1F
square
#1F658D #7E1F8D #8D471F #2E8D1F
split-complementary
#1F658D #8D1F2E #8D7E1F
monochromatic
#091D29 #14415B #1F658D #2A89BF #4EA6D8

Accessibility & contrast

On white

6.36
#1F658D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#1F658D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F658D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F658D#FFFFFF#000000##FFFFFF
##1F658D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#006F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f658d;
/* rgb */ color: rgb(31, 101, 141);
/* oklch */ color: oklch(48.3% 0.093 238.6);
Tailwind
colors: {
  custom: {
    50: '#6c90ae',
    500: '#1f658d',
    950: '#000000',
  },
}
SCSS
$custom: #1f658d;
$custom-light: #6c90ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1f658d",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 141
  },
  "hsl": {
    "h": 201.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.09325,
    "h": 238.6
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#1F658D
secondary
#BB754D
accent
#7D41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F658D

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

Preview Lab → · Contrast checker → · Palette generator →

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