#1F658B#1F658B

#1F658B is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.2% C 0.091 H 237.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#1F658B
RGBrgb(31, 101, 139)
HSLhsl(201, 64%, 33%)
HSVhsv(201, 78%, 55%)
CMYKcmyk(77.7%, 27.3%, 0%, 45.5%)
CIE-LABlab(40.35, -7.80, -27.11)
CIE-LCHlch(40.35, 28.21, 253.94°)
OKLaboklab(48.21% -0.0493 -0.0765)
OKLCHoklch(48.21% 0.091 237.2)
XYZxyz(9.8771, 11.4616, 26.1128)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F658B #8B451F
analogous
#1F8B7B #1F658B #1F2F8B
triadic
#1F658B #8B1F65 #658B1F
tetradic
#1F658B #7B1F8B #8B451F #2F8B1F
square
#1F658B #7B1F8B #8B451F #2F8B1F
split-complementary
#1F658B #8B1F2F #8B7B1F
monochromatic
#091C27 #144159 #1F658B #2A89BD #4DA7D7

Accessibility & contrast

On white

6.38
#1F658B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#1F658B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F658B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F658B#FFFFFF#000000##FFFFFF
##1F658B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658D
Deuteranopia (green-blind)
#445B8A
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f658b;
/* rgb */ color: rgb(31, 101, 139);
/* oklch */ color: oklch(48.2% 0.091 237.2);
Tailwind
colors: {
  custom: {
    50: '#6b90ad',
    500: '#1f658b',
    950: '#000000',
  },
}
SCSS
$custom: #1f658b;
$custom-light: #6b90ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1f658b",
  "rgb": {
    "r": 31,
    "g": 101,
    "b": 139
  },
  "hsl": {
    "h": 201.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.48207,
    "c": 0.09103,
    "h": 237.2
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#1F658B
secondary
#BA734C
accent
#7B41E7
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C10
muted
#7A7D7F

Preview Lab

Preview with #1F658B

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

Preview Lab → · Contrast checker → · Palette generator →

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