#042833#042833

#042833 is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.8% C 0.044 H 222.9°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#042833
RGBrgb(4, 40, 51)
HSLhsl(194, 85%, 11%)
HSVhsv(194, 92%, 20%)
CMYKcmyk(92.2%, 21.6%, 0%, 80%)
CIE-LABlab(14.30, -7.86, -10.75)
CIE-LCHlch(14.30, 13.31, 233.82°)
OKLaboklab(25.8% -0.0324 -0.0301)
OKLCHoklch(25.8% 0.044 222.9)
XYZxyz(1.4062, 1.7822, 3.4012)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#042833 #330F04
analogous
#043326 #042833 #041033
triadic
#042833 #330428 #283304
tetradic
#042833 #260433 #330F04 #103304
square
#042833 #260433 #330F04 #103304
split-complementary
#042833 #330410 #332604
monochromatic
#02161C #02161C #042833 #08556C #0D81A4

Accessibility & contrast

On white

15.48
#042833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#042833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #042833
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##042833#FFFFFF#000000##FFFFFF
##0428331.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#1B2233
Tritanopia (blue-blind)
#002B2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #042833;
/* rgb */ color: rgb(4, 40, 51);
/* oklch */ color: oklch(25.8% 0.044 222.9);
Tailwind
colors: {
  custom: {
    50: '#4d616a',
    500: '#042833',
    950: '#000000',
  },
}
SCSS
$custom: #042833;
$custom-light: #4d616a;
$custom-dark: #000000;
JSON
{
  "hex": "#042833",
  "rgb": {
    "r": 4,
    "g": 40,
    "b": 51
  },
  "hsl": {
    "h": 194.043,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.25796,
    "c": 0.04427,
    "h": 222.9
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#042833
secondary
#75321D
accent
#5D2CFC
background
#F4F5F6
surface
#E7EAEB
border
#C3C6C6
text
#020506
muted
#78797A

Preview Lab

Preview with #042833

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

Preview Lab → · Contrast checker → · Palette generator →

#042833 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva