#1F4262#1F4262

#1F4262 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 36.9% C 0.069 H 248.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1F4262
RGBrgb(31, 66, 98)
HSLhsl(209, 52%, 25%)
HSVhsv(209, 68%, 38%)
CMYKcmyk(68.4%, 32.7%, 0%, 61.6%)
CIE-LABlab(26.93, -1.30, -22.62)
CIE-LCHlch(26.93, 22.66, 266.71°)
OKLaboklab(36.91% -0.0254 -0.0639)
OKLCHoklch(36.91% 0.069 248.3)
XYZxyz(4.7171, 5.0691, 12.2828)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4262 #623F1F
analogous
#1F6260 #1F4262 #1F2062
triadic
#1F4262 #621F42 #42621F
tetradic
#1F4262 #601F62 #623F1F #20621F
square
#1F4262 #601F62 #623F1F #20621F
split-complementary
#1F4262 #621F20 #62601F
monochromatic
#071017 #102334 #1F4262 #2E6190 #3C81BF

Accessibility & contrast

On white

10.43
#1F4262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1F4262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4262
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4262#FFFFFF#000000##FFFFFF
##1F42621.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344363
Deuteranopia (green-blind)
#2B3D61
Tritanopia (blue-blind)
#004A4D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f4262;
/* rgb */ color: rgb(31, 66, 98);
/* oklch */ color: oklch(36.9% 0.069 248.3);
Tailwind
colors: {
  custom: {
    50: '#62768f',
    500: '#1f4262',
    950: '#000000',
  },
}
SCSS
$custom: #1f4262;
$custom-light: #62768f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4262",
  "rgb": {
    "r": 31,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 208.657,
    "s": 51.938,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36911,
    "c": 0.06875,
    "h": 248.3
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#1F4262
secondary
#976D46
accent
#914CDB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #1F4262

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

Preview Lab → · Contrast checker → · Palette generator →

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