#1F5393#1F5393

#1F5393 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.3% C 0.119 H 255.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#1F5393
RGBrgb(31, 83, 147)
HSLhsl(213, 65%, 35%)
HSVhsv(213, 79%, 58%)
CMYKcmyk(78.9%, 43.5%, 0%, 42.4%)
CIE-LABlab(35.17, 6.69, -40.14)
CIE-LCHlch(35.17, 40.69, 279.46°)
OKLaboklab(44.28% -0.0296 -0.1149)
OKLCHoklch(44.28% 0.119 255.5)
XYZxyz(8.9228, 8.5834, 28.7846)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5393 #935F1F
analogous
#1F8D93 #1F5393 #251F93
triadic
#1F5393 #931F53 #53931F
tetradic
#1F5393 #931F8D #935F1F #1F9325
square
#1F5393 #931F8D #935F1F #1F9325
split-complementary
#1F5393 #93251F #8D931F
monochromatic
#0A1A2E #143660 #1F5393 #2A70C6 #528FDA

Accessibility & contrast

On white

7.73
#1F5393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#1F5393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5393
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5393#FFFFFF#000000##FFFFFF
##1F53931.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335895
Deuteranopia (green-blind)
#1E4E92
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1f5393;
/* rgb */ color: rgb(31, 83, 147);
/* oklch */ color: oklch(44.3% 0.119 255.5);
Tailwind
colors: {
  custom: {
    50: '#6d82b3',
    500: '#1f5393',
    950: '#000000',
  },
}
SCSS
$custom: #1f5393;
$custom-light: #6d82b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5393",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 147
  },
  "hsl": {
    "h": 213.103,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4428,
    "c": 0.11864,
    "h": 255.5
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#1F5393
secondary
#BE8D50
accent
#9D40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5393

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

Preview Lab → · Contrast checker → · Palette generator →

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