#1F5EAB#1F5EAB

#1F5EAB is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.5% C 0.139 H 255.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#1F5EAB
RGBrgb(31, 94, 171)
HSLhsl(213, 69%, 40%)
HSVhsv(213, 82%, 67%)
CMYKcmyk(81.9%, 45%, 0%, 32.9%)
CIE-LABlab(39.97, 8.98, -46.80)
CIE-LCHlch(39.97, 47.66, 280.86°)
OKLaboklab(48.49% -0.034 -0.1343)
OKLCHoklch(48.49% 0.139 255.8)
XYZxyz(11.9157, 11.2355, 40.0608)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5EAB #AB6C1F
analogous
#1FA4AB #1F5EAB #261FAB
triadic
#1F5EAB #AB1F5E #5EAB1F
tetradic
#1F5EAB #AB1FA4 #AB6C1F #1FAB26
square
#1F5EAB #AB1FA4 #AB6C1F #1FAB26
split-complementary
#1F5EAB #AB261F #A4AB1F
monochromatic
#0C2543 #164277 #1F5EAB #2E7BD9 #629CE3

Accessibility & contrast

On white

6.47
#1F5EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#1F5EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5EAB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5EAB#FFFFFF#000000##FFFFFF
##1F5EAB1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#1758A9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f5eab;
/* rgb */ color: rgb(31, 94, 171);
/* oklch */ color: oklch(48.5% 0.139 255.8);
Tailwind
colors: {
  custom: {
    50: '#728bc4',
    500: '#1f5eab',
    950: '#000000',
  },
}
SCSS
$custom: #1f5eab;
$custom-light: #728bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5eab",
  "rgb": {
    "r": 31,
    "g": 94,
    "b": 171
  },
  "hsl": {
    "h": 213,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.13851,
    "h": 255.8
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#1F5EAB
secondary
#C7985E
accent
#9D3CEC
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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