#1F4F90#1F4F90

#1F4F90 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.119 H 257.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#1F4F90
RGBrgb(31, 79, 144)
HSLhsl(215, 65%, 34%)
HSVhsv(215, 78%, 56%)
CMYKcmyk(78.5%, 45.1%, 0%, 43.5%)
CIE-LABlab(33.77, 8.15, -40.56)
CIE-LCHlch(33.77, 41.37, 281.36°)
OKLaboklab(43.13% -0.0267 -0.1162)
OKLCHoklch(43.13% 0.119 257.1)
XYZxyz(8.3932, 7.8959, 27.4619)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4F90 #90601F
analogous
#1F8890 #1F4F90 #281F90
triadic
#1F4F90 #901F4F #4F901F
tetradic
#1F4F90 #901F88 #90601F #1F9028
square
#1F4F90 #901F88 #90601F #1F9028
split-complementary
#1F4F90 #90281F #88901F
monochromatic
#09182B #14335E #1F4F90 #2A6BC2 #508AD9

Accessibility & contrast

On white

8.14
#1F4F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#1F4F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4F90
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4F90#FFFFFF#000000##FFFFFF
##1F4F901.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5592
Deuteranopia (green-blind)
#174B8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #1f4f90;
/* rgb */ color: rgb(31, 79, 144);
/* oklch */ color: oklch(43.1% 0.119 257.1);
Tailwind
colors: {
  custom: {
    50: '#6c7fb1',
    500: '#1f4f90',
    950: '#000000',
  },
}
SCSS
$custom: #1f4f90;
$custom-light: #6c7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4f90",
  "rgb": {
    "r": 31,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 214.513,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.11924,
    "h": 257.1
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#1F4F90
secondary
#BC8E4E
accent
#A040E8
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #1F4F90

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

Preview Lab → · Contrast checker → · Palette generator →

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