#1F5CAA#1F5CAA

#1F5CAA is a mid, vivid cyan. Relative luminance 0.108; OKLCH L 48.0% C 0.140 H 256.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#1F5CAA
RGBrgb(31, 92, 170)
HSLhsl(214, 69%, 39%)
HSVhsv(214, 82%, 67%)
CMYKcmyk(81.8%, 45.9%, 0%, 33.3%)
CIE-LABlab(39.32, 9.88, -47.26)
CIE-LCHlch(39.32, 48.28, 281.81°)
OKLaboklab(47.97% -0.0326 -0.1356)
OKLCHoklch(47.97% 0.14 256.5)
XYZxyz(11.6452, 10.8465, 39.5022)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5CAA #AA6D1F
analogous
#1FA2AA #1F5CAA #281FAA
triadic
#1F5CAA #AA1F5C #5CAA1F
tetradic
#1F5CAA #AA1FA2 #AA6D1F #1FAA28
square
#1F5CAA #AA1FA2 #AA6D1F #1FAA28
split-complementary
#1F5CAA #AA281F #A2AA1F
monochromatic
#0C2442 #164076 #1F5CAA #2D79D9 #619AE2

Accessibility & contrast

On white

6.63
#1F5CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#1F5CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5CAA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5CAA#FFFFFF#000000##FFFFFF
##1F5CAA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1157A8
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5caa;
/* rgb */ color: rgb(31, 92, 170);
/* oklch */ color: oklch(48.0% 0.140 256.5);
Tailwind
colors: {
  custom: {
    50: '#7289c4',
    500: '#1f5caa',
    950: '#000000',
  },
}
SCSS
$custom: #1f5caa;
$custom-light: #7289c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5caa",
  "rgb": {
    "r": 31,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 213.669,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.13951,
    "h": 256.5
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#1F5CAA
secondary
#C7995E
accent
#9F3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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