#031828#031828

#031828 is a very dark, muted cyan. Relative luminance 0.008; OKLCH L 20.1% C 0.043 H 243.4°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#031828
RGBrgb(3, 24, 40)
HSLhsl(206, 86%, 8%)
HSVhsv(206, 93%, 16%)
CMYKcmyk(92.5%, 40%, 0%, 84.3%)
CIE-LABlab(7.46, -1.55, -13.42)
CIE-LCHlch(7.46, 13.51, 263.42°)
OKLaboklab(20.11% -0.0191 -0.0381)
OKLCHoklch(20.11% 0.043 243.4)
XYZxyz(0.7470, 0.8257, 2.1271)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031828 #281303
analogous
#032825 #031828 #030528
triadic
#031828 #280318 #182803
tetradic
#031828 #250328 #281303 #052803
square
#031828 #250328 #281303 #052803
split-complementary
#031828 #280305 #282503
monochromatic
#02111C #02111C #031828 #073A61 #0C5C9A

Accessibility & contrast

On white

18.02
#031828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#031828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031828
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031828#FFFFFF#000000##FFFFFF
##0318281.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111829
Deuteranopia (green-blind)
#0B1528
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #031828;
/* rgb */ color: rgb(3, 24, 40);
/* oklch */ color: oklch(20.1% 0.043 243.4);
Tailwind
colors: {
  custom: {
    50: '#485462',
    500: '#031828',
    950: '#000000',
  },
}
SCSS
$custom: #031828;
$custom-light: #485462;
$custom-dark: #000000;
JSON
{
  "hex": "#031828",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 205.946,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.20114,
    "c": 0.04265,
    "h": 243.4
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#031828
secondary
#6C3E1B
accent
#862CFC
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #031828

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

Preview Lab → · Contrast checker → · Palette generator →

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