#04313A#04313A

#04313A is a dark, muted cyan. Relative luminance 0.025; OKLCH L 28.9% C 0.048 H 214.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#04313A
RGBrgb(4, 49, 58)
HSLhsl(190, 87%, 12%)
HSVhsv(190, 93%, 23%)
CMYKcmyk(93.1%, 15.5%, 0%, 77.3%)
CIE-LABlab(18.04, -10.76, -9.88)
CIE-LCHlch(18.04, 14.61, 222.56°)
OKLaboklab(28.92% -0.0396 -0.0276)
OKLCHoklch(28.92% 0.048 214.9)
XYZxyz(1.9118, 2.5277, 4.3893)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04313A #3A0D04
analogous
#043A28 #04313A #04163A
triadic
#04313A #3A0431 #313A04
tetradic
#04313A #28043A #3A0D04 #163A04
square
#04313A #28043A #3A0D04 #163A04
split-complementary
#04313A #3A0416 #3A2804
monochromatic
#02181D #02181D #04313A #086173 #0C92AD

Accessibility & contrast

On white

13.95
#04313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #04313A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04313A#FFFFFF#000000##FFFFFF
##04313A1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2F3B
Deuteranopia (green-blind)
#242A3A
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #04313a;
/* rgb */ color: rgb(4, 49, 58);
/* oklch */ color: oklch(28.9% 0.048 214.9);
Tailwind
colors: {
  custom: {
    50: '#506970',
    500: '#04313a',
    950: '#000000',
  },
}
SCSS
$custom: #04313a;
$custom-light: #506970;
$custom-dark: #000000;
JSON
{
  "hex": "#04313a",
  "rgb": {
    "r": 4,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 190,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.04827,
    "h": 214.9
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#04313A
secondary
#7C2E1E
accent
#4E2BFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #04313A

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

Preview Lab → · Contrast checker → · Palette generator →

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