#1F435F#1F435F

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

Color values

HEX#1F435F
RGBrgb(31, 67, 95)
HSLhsl(206, 51%, 25%)
HSVhsv(206, 67%, 37%)
CMYKcmyk(67.4%, 29.5%, 0%, 62.7%)
CIE-LABlab(27.11, -3.10, -20.41)
CIE-LCHlch(27.11, 20.64, 261.36°)
OKLaboklab(37% -0.0277 -0.0575)
OKLCHoklch(37% 0.064 244.3)
XYZxyz(4.6370, 5.1314, 11.5703)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F435F #5F3B1F
analogous
#1F5F5B #1F435F #1F235F
triadic
#1F435F #5F1F43 #435F1F
tetradic
#1F435F #5B1F5F #5F3B1F #235F1F
square
#1F435F #5B1F5F #5F3B1F #235F1F
split-complementary
#1F435F #5F1F23 #5F5B1F
monochromatic
#081017 #102231 #1F435F #2E648D #3D84BB

Accessibility & contrast

On white

10.36
#1F435F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1F435F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F435F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F435F#FFFFFF#000000##FFFFFF
##1F435F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f435f;
/* rgb */ color: rgb(31, 67, 95);
/* oklch */ color: oklch(37.0% 0.064 244.3);
Tailwind
colors: {
  custom: {
    50: '#62778c',
    500: '#1f435f',
    950: '#000000',
  },
}
SCSS
$custom: #1f435f;
$custom-light: #62778c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f435f",
  "rgb": {
    "r": 31,
    "g": 67,
    "b": 95
  },
  "hsl": {
    "h": 206.25,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36998,
    "c": 0.06378,
    "h": 244.3
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#1F435F
secondary
#946846
accent
#8B4EDA
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#05080C
muted
#7A7B7D

Preview Lab

Preview with #1F435F

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

Preview Lab → · Contrast checker → · Palette generator →

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