#1F5E95#1F5E95

#1F5E95 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.109 H 248.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#1F5E95
RGBrgb(31, 94, 149)
HSLhsl(208, 66%, 35%)
HSVhsv(208, 79%, 58%)
CMYKcmyk(79.2%, 36.9%, 0%, 41.6%)
CIE-LABlab(38.67, 0.34, -35.78)
CIE-LCHlch(38.67, 35.78, 270.55°)
OKLaboklab(47.05% -0.0393 -0.1019)
OKLCHoklch(47.05% 0.109 248.9)
XYZxyz(9.9905, 10.4655, 29.9214)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5E95 #95561F
analogous
#1F9591 #1F5E95 #1F2395
triadic
#1F5E95 #951F5E #5E951F
tetradic
#1F5E95 #911F95 #95561F #23951F
square
#1F5E95 #911F95 #95561F #23951F
split-complementary
#1F5E95 #951F23 #95911F
monochromatic
#0A1E30 #143E62 #1F5E95 #2A7EC8 #539CDB

Accessibility & contrast

On white

6.79
#1F5E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#1F5E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5E95
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5E95#FFFFFF#000000##FFFFFF
##1F5E951.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446197
Deuteranopia (green-blind)
#335694
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f5e95;
/* rgb */ color: rgb(31, 94, 149);
/* oklch */ color: oklch(47.0% 0.109 248.9);
Tailwind
colors: {
  custom: {
    50: '#6d8bb4',
    500: '#1f5e95',
    950: '#000000',
  },
}
SCSS
$custom: #1f5e95;
$custom-light: #6d8bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5e95",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 207.966,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.10919,
    "h": 248.9
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#1F5E95
secondary
#BF8451
accent
#8E3FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5E95

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

Preview Lab → · Contrast checker → · Palette generator →

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