#1F5693#1F5693

#1F5693 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.115 H 253.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#1F5693
RGBrgb(31, 86, 147)
HSLhsl(212, 65%, 35%)
HSVhsv(212, 79%, 58%)
CMYKcmyk(78.9%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.09, 4.71, -38.67)
CIE-LCHlch(36.09, 38.96, 276.95°)
OKLaboklab(44.99% -0.0323 -0.1105)
OKLCHoklch(44.99% 0.115 253.7)
XYZxyz(9.1574, 9.0524, 28.8628)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5693 #935C1F
analogous
#1F9093 #1F5693 #221F93
triadic
#1F5693 #931F56 #56931F
tetradic
#1F5693 #931F90 #935C1F #1F9322
square
#1F5693 #931F90 #935C1F #1F9322
split-complementary
#1F5693 #93221F #90931F
monochromatic
#0A1B2E #143860 #1F5693 #2A74C6 #5293DA

Accessibility & contrast

On white

7.47
#1F5693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#1F5693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5693
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5693#FFFFFF#000000##FFFFFF
##1F56931.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#255092
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1f5693;
/* rgb */ color: rgb(31, 86, 147);
/* oklch */ color: oklch(45.0% 0.115 253.7);
Tailwind
colors: {
  custom: {
    50: '#6d85b3',
    500: '#1f5693',
    950: '#000000',
  },
}
SCSS
$custom: #1f5693;
$custom-light: #6d85b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5693",
  "rgb": {
    "r": 31,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 211.552,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44992,
    "c": 0.11517,
    "h": 253.7
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#1F5693
secondary
#BE8A50
accent
#9840E8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #1F5693

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

Preview Lab → · Contrast checker → · Palette generator →

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