#1F5293#1F5293

#1F5293 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.120 H 256.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#1F5293
RGBrgb(31, 82, 147)
HSLhsl(214, 65%, 35%)
HSVhsv(214, 79%, 58%)
CMYKcmyk(78.9%, 44.2%, 0%, 42.4%)
CIE-LABlab(34.87, 7.35, -40.62)
CIE-LCHlch(34.87, 41.28, 280.25°)
OKLaboklab(44.04% -0.0287 -0.1163)
OKLCHoklch(44.04% 0.12 256.1)
XYZxyz(8.8469, 8.4314, 28.7593)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5293 #93601F
analogous
#1F8C93 #1F5293 #261F93
triadic
#1F5293 #931F52 #52931F
tetradic
#1F5293 #931F8C #93601F #1F9326
square
#1F5293 #931F8C #93601F #1F9326
split-complementary
#1F5293 #93261F #8C931F
monochromatic
#0A1A2E #143660 #1F5293 #2A6EC6 #528EDA

Accessibility & contrast

On white

7.82
#1F5293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#1F5293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5293
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5293#FFFFFF#000000##FFFFFF
##1F52931.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315896
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5293;
/* rgb */ color: rgb(31, 82, 147);
/* oklch */ color: oklch(44.0% 0.120 256.1);
Tailwind
colors: {
  custom: {
    50: '#6d82b3',
    500: '#1f5293',
    950: '#000000',
  },
}
SCSS
$custom: #1f5293;
$custom-light: #6d82b3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5293",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 213.621,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.11983,
    "h": 256.1
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#1F5293
secondary
#BE8E50
accent
#9E40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F5293

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

Preview Lab → · Contrast checker → · Palette generator →

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