#1F4263#1F4263

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

Color values

HEX#1F4263
RGBrgb(31, 66, 99)
HSLhsl(209, 52%, 25%)
HSVhsv(209, 69%, 39%)
CMYKcmyk(68.7%, 33.3%, 0%, 61.2%)
CIE-LABlab(26.98, -0.92, -23.18)
CIE-LCHlch(26.98, 23.20, 267.73°)
OKLaboklab(36.97% -0.0251 -0.0655)
OKLCHoklch(36.97% 0.07 249)
XYZxyz(4.7646, 5.0881, 12.5330)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4263 #63401F
analogous
#1F6362 #1F4263 #1F2063
triadic
#1F4263 #631F42 #42631F
tetradic
#1F4263 #621F63 #63401F #20631F
square
#1F4263 #621F63 #63401F #20631F
split-complementary
#1F4263 #631F20 #63621F
monochromatic
#071017 #102334 #1F4263 #2E6192 #3C80C0

Accessibility & contrast

On white

10.41
#1F4263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F4263
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4263#FFFFFF#000000##FFFFFF
##1F42631.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f4263;
/* rgb */ color: rgb(31, 66, 99);
/* oklch */ color: oklch(37.0% 0.070 249.0);
Tailwind
colors: {
  custom: {
    50: '#63768f',
    500: '#1f4263',
    950: '#000000',
  },
}
SCSS
$custom: #1f4263;
$custom-light: #63768f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4263",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 99
  },
  "hsl": {
    "h": 209.118,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.07015,
    "h": 249
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#1F4263
secondary
#986E46
accent
#924CDC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #1F4263

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

Preview Lab → · Contrast checker → · Palette generator →

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