#1F5BAD#1F5BAD

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

Color values

HEX#1F5BAD
RGBrgb(31, 91, 173)
HSLhsl(215, 70%, 40%)
HSVhsv(215, 82%, 68%)
CMYKcmyk(82.1%, 47.4%, 0%, 32.2%)
CIE-LABlab(39.22, 11.73, -49.19)
CIE-LCHlch(39.22, 50.57, 283.41°)
OKLaboklab(47.95% -0.0312 -0.1414)
OKLCHoklch(47.95% 0.145 257.5)
XYZxyz(11.8462, 10.7892, 40.9852)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5BAD #AD711F
analogous
#1FA2AD #1F5BAD #2A1FAD
triadic
#1F5BAD #AD1F5B #5BAD1F
tetradic
#1F5BAD #AD1FA2 #AD711F #1FAD2A
square
#1F5BAD #AD1FA2 #AD711F #1FAD2A
split-complementary
#1F5BAD #AD2A1F #A2AD1F
monochromatic
#0C2445 #164079 #1F5BAD #2F77DA #6399E3

Accessibility & contrast

On white

6.65
#1F5BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#1F5BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F5BAD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5BAD#FFFFFF#000000##FFFFFF
##1F5BAD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f5bad;
/* rgb */ color: rgb(31, 91, 173);
/* oklch */ color: oklch(48.0% 0.145 257.5);
Tailwind
colors: {
  custom: {
    50: '#7388c6',
    500: '#1f5bad',
    950: '#000000',
  },
}
SCSS
$custom: #1f5bad;
$custom-light: #7388c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5bad",
  "rgb": {
    "r": 31,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 214.648,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.14477,
    "h": 257.5
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#1F5BAD
secondary
#C89C60
accent
#A23BEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1F5BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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