#04303B#04303B

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

Color values

HEX#04303B
RGBrgb(4, 48, 59)
HSLhsl(192, 87%, 12%)
HSVhsv(192, 93%, 23%)
CMYKcmyk(93.2%, 18.6%, 0%, 76.9%)
CIE-LABlab(17.71, -9.72, -11.07)
CIE-LCHlch(17.71, 14.73, 228.74°)
OKLaboklab(28.67% -0.0379 -0.031)
OKLCHoklch(28.67% 0.049 219.3)
XYZxyz(1.8961, 2.4552, 4.5108)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04303B #3B0F04
analogous
#043B2B #04303B #04153B
triadic
#04303B #3B0430 #303B04
tetradic
#04303B #2B043B #3B0F04 #153B04
square
#04303B #2B043B #3B0F04 #153B04
split-complementary
#04303B #3B0415 #3B2B04
monochromatic
#02171D #02171D #04303B #085F74 #0C8DAE

Accessibility & contrast

On white

14.08
#04303B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#04303B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04303B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04303B#FFFFFF#000000##FFFFFF
##04303B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3C
Deuteranopia (green-blind)
#22293B
Tritanopia (blue-blind)
#003434
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #04303b;
/* rgb */ color: rgb(4, 48, 59);
/* oklch */ color: oklch(28.7% 0.049 219.3);
Tailwind
colors: {
  custom: {
    50: '#506871',
    500: '#04303b',
    950: '#000000',
  },
}
SCSS
$custom: #04303b;
$custom-light: #506871;
$custom-dark: #000000;
JSON
{
  "hex": "#04303b",
  "rgb": {
    "r": 4,
    "g": 48,
    "b": 59
  },
  "hsl": {
    "h": 192,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.04901,
    "h": 219.3
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#04303B
secondary
#7D311E
accent
#552AFD
background
#F4F6F6
surface
#E7EBEC
border
#C3C6C7
text
#020607
muted
#787A7A

Preview Lab

Preview with #04303B

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

Preview Lab → · Contrast checker → · Palette generator →

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