#1F3B60#1F3B60

#1F3B60 is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 35.0% C 0.073 H 256.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#1F3B60
RGBrgb(31, 59, 96)
HSLhsl(214, 51%, 25%)
HSVhsv(214, 68%, 38%)
CMYKcmyk(67.7%, 38.5%, 0%, 62.4%)
CIE-LABlab(24.52, 2.65, -25.12)
CIE-LCHlch(24.52, 25.26, 276.03°)
OKLaboklab(34.99% -0.0177 -0.0712)
OKLCHoklch(34.99% 0.073 256)
XYZxyz(4.2396, 4.2634, 11.6635)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3B60 #60441F
analogous
#1F5B60 #1F3B60 #241F60
triadic
#1F3B60 #601F3B #3B601F
tetradic
#1F3B60 #601F5B #60441F #1F6024
square
#1F3B60 #601F5B #60441F #1F6024
split-complementary
#1F3B60 #60241F #5B601F
monochromatic
#070E17 #101F32 #1F3B60 #2E578E #3D74BD

Accessibility & contrast

On white

11.33
#1F3B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1F3B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3B60
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3B60#FFFFFF#000000##FFFFFF
##1F3B601.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3E62
Deuteranopia (green-blind)
#22375F
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1f3b60;
/* rgb */ color: rgb(31, 59, 96);
/* oklch */ color: oklch(35.0% 0.073 256.0);
Tailwind
colors: {
  custom: {
    50: '#62708d',
    500: '#1f3b60',
    950: '#000000',
  },
}
SCSS
$custom: #1f3b60;
$custom-light: #62708d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3b60",
  "rgb": {
    "r": 31,
    "g": 59,
    "b": 96
  },
  "hsl": {
    "h": 214.154,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34989,
    "c": 0.07341,
    "h": 256
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#1F3B60
secondary
#957346
accent
#9E4DDB
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #1F3B60

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

Preview Lab → · Contrast checker → · Palette generator →

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