#1F5F93#1F5F93

#1F5F93 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.106 H 247.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#1F5F93
RGBrgb(31, 95, 147)
HSLhsl(207, 65%, 35%)
HSVhsv(207, 79%, 58%)
CMYKcmyk(78.9%, 35.4%, 0%, 42.4%)
CIE-LABlab(38.87, -1.07, -34.26)
CIE-LCHlch(38.87, 34.27, 268.22°)
OKLaboklab(47.17% -0.0408 -0.0974)
OKLCHoklch(47.17% 0.106 247.3)
XYZxyz(9.9217, 10.5811, 29.1176)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F93 #93531F
analogous
#1F938D #1F5F93 #1F2593
triadic
#1F5F93 #931F5F #5F931F
tetradic
#1F5F93 #8D1F93 #93531F #25931F
square
#1F5F93 #8D1F93 #93531F #25931F
split-complementary
#1F5F93 #931F25 #938D1F
monochromatic
#0A1E2E #143E60 #1F5F93 #2A80C6 #529DDA

Accessibility & contrast

On white

6.74
#1F5F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#1F5F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5F93
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F93#FFFFFF#000000##FFFFFF
##1F5F931.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476195
Deuteranopia (green-blind)
#365792
Tritanopia (blue-blind)
#006C72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5f93;
/* rgb */ color: rgb(31, 95, 147);
/* oklch */ color: oklch(47.2% 0.106 247.3);
Tailwind
colors: {
  custom: {
    50: '#6d8cb3',
    500: '#1f5f93',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f93;
$custom-light: #6d8cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f93",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 147
  },
  "hsl": {
    "h": 206.897,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.10561,
    "h": 247.3
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#1F5F93
secondary
#BE8150
accent
#8B40E8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F5F93

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

Preview Lab → · Contrast checker → · Palette generator →

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