#313F45#313F45

#313F45 is a dark, muted cyan. Relative luminance 0.046; OKLCH L 35.8% C 0.021 H 225.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#313F45
RGBrgb(49, 63, 69)
HSLhsl(198, 17%, 23%)
HSVhsv(198, 29%, 27%)
CMYKcmyk(29%, 8.7%, 0%, 72.9%)
CIE-LABlab(25.68, -4.03, -5.53)
CIE-LCHlch(25.68, 6.84, 233.94°)
OKLaboklab(35.77% -0.0146 -0.0151)
OKLCHoklch(35.77% 0.021 225.8)
XYZxyz(4.1180, 4.6375, 6.3072)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#313F45 #453731
analogous
#314541 #313F45 #313545
triadic
#313F45 #45313F #3F4531
tetradic
#313F45 #413145 #453731 #354531
square
#313F45 #413145 #453731 #354531
split-complementary
#313F45 #453135 #454131
monochromatic
#0D1012 #181E21 #313F45 #4A6069 #64808D

Accessibility & contrast

On white

10.89
#313F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#313F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #313F45
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##313F45#FFFFFF#000000##FFFFFF
##313F451.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E45
Deuteranopia (green-blind)
#393C45
Tritanopia (blue-blind)
#2B4141
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #313f45;
/* rgb */ color: rgb(49, 63, 69);
/* oklch */ color: oklch(35.8% 0.021 225.8);
Tailwind
colors: {
  custom: {
    50: '#697478',
    500: '#313f45',
    950: '#000000',
  },
}
SCSS
$custom: #313f45;
$custom-light: #697478;
$custom-dark: #000000;
JSON
{
  "hex": "#313f45",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 69
  },
  "hsl": {
    "h": 198,
    "s": 16.949,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3577,
    "c": 0.02099,
    "h": 225.8
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#313F45
secondary
#75645C
accent
#856EBA
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#060809
muted
#7A7B7B

Preview Lab

Preview with #313F45

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

Preview Lab → · Contrast checker → · Palette generator →

#313F45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva