#04313B#04313B

#04313B is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.049 H 216.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#04313B
RGBrgb(4, 49, 59)
HSLhsl(191, 87%, 12%)
HSVhsv(191, 93%, 23%)
CMYKcmyk(93.2%, 16.9%, 0%, 76.9%)
CIE-LABlab(18.09, -10.35, -10.50)
CIE-LCHlch(18.09, 14.74, 225.40°)
OKLaboklab(28.97% -0.0391 -0.0294)
OKLCHoklch(28.97% 0.049 216.9)
XYZxyz(1.9375, 2.5380, 4.5246)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04313B #3B0E04
analogous
#043B2A #04313B #04163B
triadic
#04313B #3B0431 #313B04
tetradic
#04313B #2A043B #3B0E04 #163B04
square
#04313B #2A043B #3B0E04 #163B04
split-complementary
#04313B #3B0416 #3B2A04
monochromatic
#02181D #02181D #04313B #086174 #0C90AE

Accessibility & contrast

On white

13.93
#04313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#04313B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04313B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04313B#FFFFFF#000000##FFFFFF
##04313B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3C
Deuteranopia (green-blind)
#232A3B
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #04313b;
/* rgb */ color: rgb(4, 49, 59);
/* oklch */ color: oklch(29.0% 0.049 216.9);
Tailwind
colors: {
  custom: {
    50: '#506971',
    500: '#04313b',
    950: '#000000',
  },
}
SCSS
$custom: #04313b;
$custom-light: #506971;
$custom-dark: #000000;
JSON
{
  "hex": "#04313b",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 190.909,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28972,
    "c": 0.04891,
    "h": 216.9
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#04313B
secondary
#7D2F1E
accent
#512AFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #04313B

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

Preview Lab → · Contrast checker → · Palette generator →

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