#1F3D64#1F3D64

#1F3D64 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.8% C 0.077 H 255.8°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#1F3D64
RGBrgb(31, 61, 100)
HSLhsl(214, 53%, 26%)
HSVhsv(214, 69%, 39%)
CMYKcmyk(69%, 39%, 0%, 60.8%)
CIE-LABlab(25.41, 2.84, -26.31)
CIE-LCHlch(25.41, 26.46, 276.17°)
OKLaboklab(35.75% -0.019 -0.0747)
OKLCHoklch(35.75% 0.077 255.8)
XYZxyz(4.5332, 4.5485, 12.6932)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F3D64 #64461F
analogous
#1F5F64 #1F3D64 #231F64
triadic
#1F3D64 #641F3D #3D641F
tetradic
#1F3D64 #641F5F #64461F #1F6423
square
#1F3D64 #641F5F #64461F #1F6423
split-complementary
#1F3D64 #64231F #5F641F
monochromatic
#070E17 #112135 #1F3D64 #2D5993 #3C76C1

Accessibility & contrast

On white

11.00
#1F3D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F3D64
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F3D64#FFFFFF#000000##FFFFFF
##1F3D641.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4066
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#00464B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f3d64;
/* rgb */ color: rgb(31, 61, 100);
/* oklch */ color: oklch(35.8% 0.077 255.8);
Tailwind
colors: {
  custom: {
    50: '#637290',
    500: '#1f3d64',
    950: '#000000',
  },
}
SCSS
$custom: #1f3d64;
$custom-light: #637290;
$custom-dark: #000000;
JSON
{
  "hex": "#1f3d64",
  "rgb": {
    "r": 31,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 213.913,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35755,
    "c": 0.07707,
    "h": 255.8
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#1F3D64
secondary
#987546
accent
#9D4CDC
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #1F3D64

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

Preview Lab → · Contrast checker → · Palette generator →

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