#1F5B95#1F5B95

#1F5B95 is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.112 H 251.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#1F5B95
RGBrgb(31, 91, 149)
HSLhsl(209, 66%, 35%)
HSVhsv(209, 79%, 58%)
CMYKcmyk(79.2%, 38.9%, 0%, 41.6%)
CIE-LABlab(37.74, 2.26, -37.25)
CIE-LCHlch(37.74, 37.32, 273.47°)
OKLaboklab(46.32% -0.0365 -0.1062)
OKLCHoklch(46.32% 0.112 251.1)
XYZxyz(9.7289, 9.9423, 29.8342)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B95 #95591F
analogous
#1F9594 #1F5B95 #1F2095
triadic
#1F5B95 #951F5B #5B951F
tetradic
#1F5B95 #941F95 #95591F #20951F
square
#1F5B95 #941F95 #95591F #20951F
split-complementary
#1F5B95 #951F20 #95941F
monochromatic
#0A1D30 #143C62 #1F5B95 #2A7AC8 #5398DB

Accessibility & contrast

On white

7.03
#1F5B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#1F5B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B95
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B95#FFFFFF#000000##FFFFFF
##1F5B951.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5b95;
/* rgb */ color: rgb(31, 91, 149);
/* oklch */ color: oklch(46.3% 0.112 251.1);
Tailwind
colors: {
  custom: {
    50: '#6d89b4',
    500: '#1f5b95',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b95;
$custom-light: #6d89b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b95",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 209.492,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.11233,
    "h": 251.1
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#1F5B95
secondary
#BF8751
accent
#923FE9
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5B95

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

Preview Lab → · Contrast checker → · Palette generator →

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