#1F5DB3#1F5DB3

#1F5DB3 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.8% C 0.150 H 257.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#1F5DB3
RGBrgb(31, 93, 179)
HSLhsl(215, 70%, 41%)
HSVhsv(215, 83%, 70%)
CMYKcmyk(82.7%, 48%, 0%, 29.8%)
CIE-LABlab(40.20, 12.78, -51.15)
CIE-LCHlch(40.20, 52.73, 284.03°)
OKLaboklab(48.84% -0.0317 -0.1471)
OKLCHoklch(48.84% 0.15 257.8)
XYZxyz(12.6131, 11.3731, 44.1695)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5DB3 #B3751F
analogous
#1FA7B3 #1F5DB3 #2B1FB3
triadic
#1F5DB3 #B31F5D #5DB31F
tetradic
#1F5DB3 #B31FA7 #B3751F #1FB32B
square
#1F5DB3 #B31FA7 #B3751F #1FB32B
split-complementary
#1F5DB3 #B32B1F #A7B31F
monochromatic
#0D274B #16427F #1F5DB3 #337ADC #689CE5

Accessibility & contrast

On white

6.41
#1F5DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#1F5DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5DB3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5DB3#FFFFFF#000000##FFFFFF
##1F5DB31.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f5db3;
/* rgb */ color: rgb(31, 93, 179);
/* oklch */ color: oklch(48.8% 0.150 257.8);
Tailwind
colors: {
  custom: {
    50: '#748aca',
    500: '#1f5db3',
    950: '#000000',
  },
}
SCSS
$custom: #1f5db3;
$custom-light: #748aca;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5db3",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 214.865,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48836,
    "c": 0.15047,
    "h": 257.8
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#1F5DB3
secondary
#CA9F64
accent
#A23BED
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #1F5DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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