#1F5C95#1F5C95

#1F5C95 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.111 H 250.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#1F5C95
RGBrgb(31, 92, 149)
HSLhsl(209, 66%, 35%)
HSVhsv(209, 79%, 58%)
CMYKcmyk(79.2%, 38.3%, 0%, 41.6%)
CIE-LABlab(38.05, 1.62, -36.76)
CIE-LCHlch(38.05, 36.79, 272.52°)
OKLaboklab(46.56% -0.0374 -0.1048)
OKLCHoklch(46.56% 0.111 250.4)
XYZxyz(9.8150, 10.1144, 29.8629)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5C95 #95581F
analogous
#1F9593 #1F5C95 #1F2195
triadic
#1F5C95 #951F5C #5C951F
tetradic
#1F5C95 #931F95 #95581F #21951F
square
#1F5C95 #931F95 #95581F #21951F
split-complementary
#1F5C95 #951F21 #95931F
monochromatic
#0A1D30 #143D62 #1F5C95 #2A7BC8 #539ADB

Accessibility & contrast

On white

6.95
#1F5C95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#1F5C95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5C95
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5C95#FFFFFF#000000##FFFFFF
##1F5C951.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#2F5594
Tritanopia (blue-blind)
#006A71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #1f5c95;
/* rgb */ color: rgb(31, 92, 149);
/* oklch */ color: oklch(46.6% 0.111 250.4);
Tailwind
colors: {
  custom: {
    50: '#6d89b4',
    500: '#1f5c95',
    950: '#000000',
  },
}
SCSS
$custom: #1f5c95;
$custom-light: #6d89b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5c95",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 149
  },
  "hsl": {
    "h": 208.983,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.11127,
    "h": 250.4
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#1F5C95
secondary
#BF8651
accent
#913FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5C95

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

Preview Lab → · Contrast checker → · Palette generator →

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