#1F5B94#1F5B94

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

Color values

HEX#1F5B94
RGBrgb(31, 91, 148)
HSLhsl(209, 65%, 35%)
HSVhsv(209, 79%, 58%)
CMYKcmyk(79.1%, 38.5%, 0%, 42%)
CIE-LABlab(37.68, 1.87, -36.74)
CIE-LCHlch(37.68, 36.78, 272.91°)
OKLaboklab(46.26% -0.0367 -0.1047)
OKLCHoklch(46.26% 0.111 250.7)
XYZxyz(9.6494, 9.9105, 29.4156)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5B94 #94581F
analogous
#1F9493 #1F5B94 #1F2094
triadic
#1F5B94 #941F5B #5B941F
tetradic
#1F5B94 #931F94 #94581F #20941F
square
#1F5B94 #931F94 #94581F #20941F
split-complementary
#1F5B94 #941F20 #94931F
monochromatic
#0A1D2F #143C61 #1F5B94 #2A7AC7 #5398DB

Accessibility & contrast

On white

7.04
#1F5B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1F5B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5B94
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5B94#FFFFFF#000000##FFFFFF
##1F5B941.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F96
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#006970
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f5b94;
/* rgb */ color: rgb(31, 91, 148);
/* oklch */ color: oklch(46.3% 0.111 250.7);
Tailwind
colors: {
  custom: {
    50: '#6d89b4',
    500: '#1f5b94',
    950: '#000000',
  },
}
SCSS
$custom: #1f5b94;
$custom-light: #6d89b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5b94",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 148
  },
  "hsl": {
    "h": 209.231,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.111,
    "h": 250.7
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#1F5B94
secondary
#BE8651
accent
#923FE8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5B94

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

Preview Lab → · Contrast checker → · Palette generator →

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