#04283B#04283B

#04283B is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.3% C 0.053 H 237.0°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#04283B
RGBrgb(4, 40, 59)
HSLhsl(201, 87%, 12%)
HSVhsv(201, 93%, 23%)
CMYKcmyk(93.2%, 32.2%, 0%, 76.9%)
CIE-LABlab(14.73, -4.36, -15.71)
CIE-LCHlch(14.73, 16.30, 254.48°)
OKLaboklab(26.28% -0.0289 -0.0445)
OKLCHoklch(26.28% 0.053 237)
XYZxyz(1.5980, 1.8590, 4.4114)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#04283B #3B1704
analogous
#043B33 #04283B #040D3B
triadic
#04283B #3B0428 #283B04
tetradic
#04283B #33043B #3B1704 #0D3B04
square
#04283B #33043B #3B1704 #0D3B04
split-complementary
#04283B #3B040D #3B3304
monochromatic
#02131D #02131D #04283B #084F74 #0C76AE

Accessibility & contrast

On white

15.31
#04283B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#04283B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #04283B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##04283B#FFFFFF#000000##FFFFFF
##04283B1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#17233B
Tritanopia (blue-blind)
#002D2F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #04283b;
/* rgb */ color: rgb(4, 40, 59);
/* oklch */ color: oklch(26.3% 0.053 237.0);
Tailwind
colors: {
  custom: {
    50: '#4f6171',
    500: '#04283b',
    950: '#000000',
  },
}
SCSS
$custom: #04283b;
$custom-light: #4f6171;
$custom-dark: #000000;
JSON
{
  "hex": "#04283b",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 59
  },
  "hsl": {
    "h": 200.727,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2628,
    "c": 0.05302,
    "h": 237
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#04283B
secondary
#7D3F1E
accent
#732AFD
background
#F4F5F6
surface
#E7E9EC
border
#C3C5C7
text
#020507
muted
#78797A

Preview Lab

Preview with #04283B

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

Preview Lab → · Contrast checker → · Palette generator →

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