#04313F#04313F

#04313F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.2% C 0.052 H 224.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#04313F
RGBrgb(4, 49, 63)
HSLhsl(194, 88%, 13%)
HSVhsv(194, 94%, 25%)
CMYKcmyk(93.7%, 22.2%, 0%, 75.3%)
CIE-LABlab(18.28, -8.69, -12.95)
CIE-LCHlch(18.28, 15.60, 236.13°)
OKLaboklab(29.19% -0.0372 -0.0364)
OKLCHoklch(29.19% 0.052 224.4)
XYZxyz(2.0452, 2.5811, 5.0921)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04313F #3F1204
analogous
#043F2F #04313F #04133F
triadic
#04313F #3F0431 #313F04
tetradic
#04313F #2F043F #3F1204 #133F04
square
#04313F #2F043F #3F1204 #133F04
split-complementary
#04313F #3F0413 #3F2F04
monochromatic
#02161D #02161D #04313F #085E79 #0B8BB2

Accessibility & contrast

On white

13.85
#04313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#04313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04313F
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04313F#FFFFFF#000000##FFFFFF
##04313F1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293040
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #04313f;
/* rgb */ color: rgb(4, 49, 63);
/* oklch */ color: oklch(29.2% 0.052 224.4);
Tailwind
colors: {
  custom: {
    50: '#516974',
    500: '#04313f',
    950: '#000000',
  },
}
SCSS
$custom: #04313f;
$custom-light: #516974;
$custom-dark: #000000;
JSON
{
  "hex": "#04313f",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 194.237,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2919,
    "c": 0.05203,
    "h": 224.4
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#04313F
secondary
#80361E
accent
#5C2AFE
background
#F4F6F7
surface
#E7EBED
border
#C3C6C8
text
#020608
muted
#787A7B

Preview Lab

Preview with #04313F

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

Preview Lab → · Contrast checker → · Palette generator →

#04313F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva