#031123#031123

#031123 is a very dark, muted cyan. Relative luminance 0.005; OKLCH L 17.6% C 0.043 H 253.2°. Best body text is #FFFFFF at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#031123
RGBrgb(3, 17, 35)
HSLhsl(214, 84%, 7%)
HSVhsv(214, 91%, 14%)
CMYKcmyk(91.4%, 51.4%, 0%, 86.3%)
CIE-LABlab(4.89, 1.09, -13.63)
CIE-LCHlch(4.89, 13.67, 274.57°)
OKLaboklab(17.58% -0.0125 -0.0415)
OKLCHoklch(17.58% 0.043 253.2)
XYZxyz(0.5413, 0.5415, 1.6658)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#031123 #231503
analogous
#032123 #031123 #050323
triadic
#031123 #230311 #112303
tetradic
#031123 #230321 #231503 #032305
square
#031123 #230321 #231503 #032305
split-complementary
#031123 #230503 #212303
monochromatic
#020E1C #020E1C #031123 #082C5B #0D4894

Accessibility & contrast

On white

18.95
#031123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#031123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #031123
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##031123#FFFFFF#000000##FFFFFF
##0311231.0018.951.1118.95
#FFFFFF18.951.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091224
Deuteranopia (green-blind)
#040F23
Tritanopia (blue-blind)
#001518
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #031123;
/* rgb */ color: rgb(3, 17, 35);
/* oklch */ color: oklch(17.6% 0.043 253.2);
Tailwind
colors: {
  custom: {
    50: '#484f5e',
    500: '#031123',
    950: '#000000',
  },
}
SCSS
$custom: #031123;
$custom-light: #484f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#031123",
  "rgb": {
    "r": 3,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 213.75,
    "s": 84.211,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17584,
    "c": 0.04331,
    "h": 253.2
  },
  "luminance": 0.00542
}

Semantic roles & 50–950 ramp

primary
#031123
secondary
#67461B
accent
#A12DFA
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #031123

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

Preview Lab → · Contrast checker → · Palette generator →

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