#1F4264#1F4264

#1F4264 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.0% C 0.072 H 249.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#1F4264
RGBrgb(31, 66, 100)
HSLhsl(210, 53%, 26%)
HSVhsv(210, 69%, 39%)
CMYKcmyk(69%, 34%, 0%, 60.8%)
CIE-LABlab(27.04, -0.53, -23.74)
CIE-LCHlch(27.04, 23.74, 268.71°)
OKLaboklab(37.03% -0.0248 -0.0671)
OKLCHoklch(37.03% 0.072 249.7)
XYZxyz(4.8127, 5.1074, 12.7863)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4264 #64411F
analogous
#1F6463 #1F4264 #1F1F64
triadic
#1F4264 #641F42 #42641F
tetradic
#1F4264 #631F64 #64411F #1F641F
square
#1F4264 #631F64 #64411F #1F641F
split-complementary
#1F4264 #641F1F #64631F
monochromatic
#070F17 #112335 #1F4264 #2D6193 #3C80C1

Accessibility & contrast

On white

10.39
#1F4264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1F4264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4264
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4264#FFFFFF#000000##FFFFFF
##1F42641.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334465
Deuteranopia (green-blind)
#2A3D63
Tritanopia (blue-blind)
#004A4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f4264;
/* rgb */ color: rgb(31, 66, 100);
/* oklch */ color: oklch(37.0% 0.072 249.7);
Tailwind
colors: {
  custom: {
    50: '#637690',
    500: '#1f4264',
    950: '#000000',
  },
}
SCSS
$custom: #1f4264;
$custom-light: #637690;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4264",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 100
  },
  "hsl": {
    "h": 209.565,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.07155,
    "h": 249.7
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#1F4264
secondary
#986F46
accent
#934CDC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #1F4264

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

Preview Lab → · Contrast checker → · Palette generator →

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