#1F3D65#1F3D65

#1F3D65 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.8% C 0.079 H 256.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1F3D65
RGBrgb(31, 61, 101)
HSLhsl(214, 53%, 26%)
HSVhsv(214, 69%, 40%)
CMYKcmyk(69.3%, 39.6%, 0%, 60.4%)
CIE-LABlab(25.47, 3.24, -26.86)
CIE-LCHlch(25.47, 27.06, 276.87°)
OKLaboklab(35.82% -0.0187 -0.0763)
OKLCHoklch(35.82% 0.079 256.3)
XYZxyz(4.5819, 4.5679, 12.9496)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3D65 #65471F
analogous
#1F6065 #1F3D65 #241F65
triadic
#1F3D65 #651F3D #3D651F
tetradic
#1F3D65 #651F60 #65471F #1F6524
square
#1F3D65 #651F60 #65471F #1F6524
split-complementary
#1F3D65 #65241F #60651F
monochromatic
#070E17 #112136 #1F3D65 #2D5994 #3C76C3

Accessibility & contrast

On white

10.97
#1F3D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1F3D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F3D65
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3D65#FFFFFF#000000##FFFFFF
##1F3D651.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4067
Deuteranopia (green-blind)
#213964
Tritanopia (blue-blind)
#00464C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3d65;
/* rgb */ color: rgb(31, 61, 101);
/* oklch */ color: oklch(35.8% 0.079 256.3);
Tailwind
colors: {
  custom: {
    50: '#637291',
    500: '#1f3d65',
    950: '#000000',
  },
}
SCSS
$custom: #1f3d65;
$custom-light: #637291;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3d65",
  "rgb": {
    "r": 31,
    "g": 61,
    "b": 101
  },
  "hsl": {
    "h": 214.286,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3582,
    "c": 0.07856,
    "h": 256.3
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#1F3D65
secondary
#997646
accent
#9E4BDC
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #1F3D65

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

Preview Lab → · Contrast checker → · Palette generator →

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