#031830#031830

#031830 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.7% C 0.055 H 252.8°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#031830
RGBrgb(3, 24, 48)
HSLhsl(212, 88%, 10%)
HSVhsv(212, 94%, 19%)
CMYKcmyk(93.8%, 50%, 0%, 81.2%)
CIE-LABlab(8.00, 2.22, -18.48)
CIE-LCHlch(8.00, 18.61, 276.86°)
OKLaboklab(20.73% -0.0164 -0.0529)
OKLCHoklch(20.73% 0.055 252.8)
XYZxyz(0.8975, 0.8859, 2.9194)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031830 #301B03
analogous
#032E30 #031830 #050330
triadic
#031830 #300318 #183003
tetradic
#031830 #30032E #301B03 #033005
square
#031830 #30032E #301B03 #033005
split-complementary
#031830 #300503 #2E3003
monochromatic
#020E1D #020E1D #031830 #07356A #0A52A3

Accessibility & contrast

On white

17.84
#031830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#031830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031830
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031830#FFFFFF#000000##FFFFFF
##0318301.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#051630
Tritanopia (blue-blind)
#001E21
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #031830;
/* rgb */ color: rgb(3, 24, 48);
/* oklch */ color: oklch(20.7% 0.055 252.8);
Tailwind
colors: {
  custom: {
    50: '#4b5468',
    500: '#031830',
    950: '#000000',
  },
}
SCSS
$custom: #031830;
$custom-light: #4b5468;
$custom-dark: #000000;
JSON
{
  "hex": "#031830",
  "rgb": {
    "r": 3,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 212,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.20731,
    "c": 0.05537,
    "h": 252.8
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#031830
secondary
#734A1B
accent
#9B29FE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #031830

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

Preview Lab → · Contrast checker → · Palette generator →

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