#1F5290#1F5290

#1F5290 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.116 H 255.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#1F5290
RGBrgb(31, 82, 144)
HSLhsl(213, 65%, 34%)
HSVhsv(213, 78%, 56%)
CMYKcmyk(78.5%, 43.1%, 0%, 43.5%)
CIE-LABlab(34.68, 6.16, -39.10)
CIE-LCHlch(34.68, 39.58, 278.95°)
OKLaboklab(43.84% -0.0294 -0.1118)
OKLCHoklch(43.84% 0.116 255.3)
XYZxyz(8.6145, 8.3385, 27.5356)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5290 #905D1F
analogous
#1F8B90 #1F5290 #241F90
triadic
#1F5290 #901F52 #52901F
tetradic
#1F5290 #901F8B #905D1F #1F9024
square
#1F5290 #901F8B #905D1F #1F9024
split-complementary
#1F5290 #90241F #8B901F
monochromatic
#09192B #14355E #1F5290 #2A6FC2 #508ED9

Accessibility & contrast

On white

7.87
#1F5290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1F5290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5290
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5290#FFFFFF#000000##FFFFFF
##1F52901.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#204D8F
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1f5290;
/* rgb */ color: rgb(31, 82, 144);
/* oklch */ color: oklch(43.8% 0.116 255.3);
Tailwind
colors: {
  custom: {
    50: '#6c82b1',
    500: '#1f5290',
    950: '#000000',
  },
}
SCSS
$custom: #1f5290;
$custom-light: #6c82b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5290",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 144
  },
  "hsl": {
    "h": 212.92,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43838,
    "c": 0.11565,
    "h": 255.3
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#1F5290
secondary
#BC8B4E
accent
#9C40E8
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #1F5290

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

Preview Lab → · Contrast checker → · Palette generator →

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