#051230#051230

#051230 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.063 H 263.0°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#051230
RGBrgb(5, 18, 48)
HSLhsl(222, 81%, 10%)
HSVhsv(222, 90%, 19%)
CMYKcmyk(89.6%, 62.5%, 0%, 81.2%)
CIE-LABlab(6.13, 6.87, -21.47)
CIE-LCHlch(6.13, 22.54, 287.73°)
OKLaboklab(19.19% -0.0077 -0.0626)
OKLCHoklch(19.19% 0.063 263)
XYZxyz(0.8122, 0.6782, 2.8838)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051230 #302305
analogous
#052730 #051230 #0D0530
triadic
#051230 #300512 #123005
tetradic
#051230 #300527 #302305 #05300D
square
#051230 #300527 #302305 #05300D
split-complementary
#051230 #300D05 #273005
monochromatic
#030A1C #030A1C #051230 #0B2767 #113C9F

Accessibility & contrast

On white

18.49
#051230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#051230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051230
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051230#FFFFFF#000000##FFFFFF
##0512301.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021631
Deuteranopia (green-blind)
#00122F
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #051230;
/* rgb */ color: rgb(5, 18, 48);
/* oklch */ color: oklch(19.2% 0.063 263.0);
Tailwind
colors: {
  custom: {
    50: '#4c4f68',
    500: '#051230',
    950: '#000000',
  },
}
SCSS
$custom: #051230;
$custom-light: #4c4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#051230",
  "rgb": {
    "r": 5,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 221.86,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19191,
    "c": 0.06311,
    "h": 263
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#051230
secondary
#72591F
accent
#BB30F8
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #051230

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

Preview Lab → · Contrast checker → · Palette generator →

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