#1F5F94#1F5F94

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

Color values

HEX#1F5F94
RGBrgb(31, 95, 148)
HSLhsl(207, 65%, 35%)
HSVhsv(207, 79%, 58%)
CMYKcmyk(79.1%, 35.8%, 0%, 42%)
CIE-LABlab(38.92, -0.68, -34.77)
CIE-LCHlch(38.92, 34.78, 268.88°)
OKLaboklab(47.23% -0.0405 -0.0989)
OKLCHoklch(47.23% 0.107 247.7)
XYZxyz(10.0005, 10.6127, 29.5326)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5F94 #94541F
analogous
#1F948E #1F5F94 #1F2594
triadic
#1F5F94 #941F5F #5F941F
tetradic
#1F5F94 #8E1F94 #94541F #25941F
square
#1F5F94 #8E1F94 #94541F #25941F
split-complementary
#1F5F94 #941F25 #948E1F
monochromatic
#0A1E2F #143F61 #1F5F94 #2A7FC7 #539DDB

Accessibility & contrast

On white

6.72
#1F5F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F5F94
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5F94#FFFFFF#000000##FFFFFF
##1F5F941.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f5f94;
/* rgb */ color: rgb(31, 95, 148);
/* oklch */ color: oklch(47.2% 0.107 247.7);
Tailwind
colors: {
  custom: {
    50: '#6d8cb4',
    500: '#1f5f94',
    950: '#000000',
  },
}
SCSS
$custom: #1f5f94;
$custom-light: #6d8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5f94",
  "rgb": {
    "r": 31,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 207.179,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4723,
    "c": 0.1069,
    "h": 247.7
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#1F5F94
secondary
#BE8251
accent
#8C3FE8
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #1F5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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