#081243#081243

#081243 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.4% C 0.093 H 268.0°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#081243
RGBrgb(8, 18, 67)
HSLhsl(230, 79%, 15%)
HSVhsv(230, 88%, 26%)
CMYKcmyk(88.1%, 73.1%, 0%, 73.7%)
CIE-LABlab(8.03, 16.87, -32.09)
CIE-LCHlch(8.03, 36.26, 297.73°)
OKLaboklab(21.38% -0.0032 -0.0929)
OKLCHoklch(21.38% 0.093 268)
XYZxyz(1.3292, 0.8893, 5.4107)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081243 #433908
analogous
#082F43 #081243 #1C0843
triadic
#081243 #430812 #124308
tetradic
#081243 #43082F #433908 #08431C
square
#081243 #43082F #433908 #08431C
split-complementary
#081243 #431C08 #2F4308
monochromatic
#03071B #03071B #081243 #0F217A #152FB0

Accessibility & contrast

On white

17.83
#081243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081243
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081243#FFFFFF#000000##FFFFFF
##0812431.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A45
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081243;
/* rgb */ color: rgb(8, 18, 67);
/* oklch */ color: oklch(21.4% 0.093 268.0);
Tailwind
colors: {
  custom: {
    50: '#534f78',
    500: '#081243',
    950: '#000000',
  },
}
SCSS
$custom: #081243;
$custom-light: #534f78;
$custom-dark: #000000;
JSON
{
  "hex": "#081243",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 229.831,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21381,
    "c": 0.09294,
    "h": 268
  },
  "luminance": 0.00889
}

Semantic roles & 50–950 ramp

primary
#081243
secondary
#817225
accent
#D433F5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #081243

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

Preview Lab → · Contrast checker → · Palette generator →

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