#1F5DAA#1F5DAA

#1F5DAA is a mid, vivid cyan. Relative luminance 0.110; OKLCH L 48.2% C 0.138 H 256.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#1F5DAA
RGBrgb(31, 93, 170)
HSLhsl(213, 69%, 39%)
HSVhsv(213, 82%, 67%)
CMYKcmyk(81.8%, 45.3%, 0%, 33.3%)
CIE-LABlab(39.62, 9.23, -46.79)
CIE-LCHlch(39.62, 47.69, 281.16°)
OKLaboklab(48.2% -0.0334 -0.1342)
OKLCHoklch(48.2% 0.138 256)
XYZxyz(11.7324, 11.0209, 39.5313)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5DAA #AA6C1F
analogous
#1FA3AA #1F5DAA #261FAA
triadic
#1F5DAA #AA1F5D #5DAA1F
tetradic
#1F5DAA #AA1FA3 #AA6C1F #1FAA26
square
#1F5DAA #AA1FA3 #AA6C1F #1FAA26
split-complementary
#1F5DAA #AA261F #A3AA1F
monochromatic
#0C2442 #164176 #1F5DAA #2D7AD9 #619BE2

Accessibility & contrast

On white

6.55
#1F5DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#1F5DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5DAA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5DAA#FFFFFF#000000##FFFFFF
##1F5DAA1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#1558A8
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #1f5daa;
/* rgb */ color: rgb(31, 93, 170);
/* oklch */ color: oklch(48.2% 0.138 256.0);
Tailwind
colors: {
  custom: {
    50: '#728ac4',
    500: '#1f5daa',
    950: '#000000',
  },
}
SCSS
$custom: #1f5daa;
$custom-light: #728ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5daa",
  "rgb": {
    "r": 31,
    "g": 93,
    "b": 170
  },
  "hsl": {
    "h": 213.237,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.13833,
    "h": 256
  },
  "luminance": 0.11022
}

Semantic roles & 50–950 ramp

primary
#1F5DAA
secondary
#C7985E
accent
#9D3CEC
background
#F7F8FC
surface
#EDF0F8
border
#C8CBD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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