#050230#050230

#050230 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.2% C 0.089 H 273.2°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#050230
RGBrgb(5, 2, 48)
HSLhsl(244, 92%, 10%)
HSVhsv(244, 96%, 19%)
CMYKcmyk(89.6%, 95.8%, 0%, 81.2%)
CIE-LABlab(2.61, 14.05, -27.08)
CIE-LCHlch(2.61, 30.51, 297.42°)
OKLaboklab(15.24% 0.005 -0.0887)
OKLCHoklch(15.24% 0.089 273.2)
XYZxyz(0.6176, 0.2890, 2.8190)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050230 #2D3002
analogous
#021630 #050230 #1C0230
triadic
#050230 #300502 #023005
tetradic
#050230 #300216 #2D3002 #02301C
square
#050230 #300216 #2D3002 #02301C
split-complementary
#050230 #301C02 #163002
monochromatic
#03011D #03011D #050230 #0B046B #1107A6

Accessibility & contrast

On white

19.85
#050230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#050230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050230
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050230#FFFFFF#000000##FFFFFF
##0502301.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C31
Deuteranopia (green-blind)
#00072F
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #050230;
/* rgb */ color: rgb(5, 2, 48);
/* oklch */ color: oklch(15.2% 0.089 273.2);
Tailwind
colors: {
  custom: {
    50: '#4b4769',
    500: '#050230',
    950: '#000000',
  },
}
SCSS
$custom: #050230;
$custom-light: #4b4769;
$custom-dark: #000000;
JSON
{
  "hex": "#050230",
  "rgb": {
    "r": 5,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 243.913,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15239,
    "c": 0.08883,
    "h": 273.2
  },
  "luminance": 0.00289
}

Semantic roles & 50–950 ramp

primary
#050230
secondary
#6F7519
accent
#FF29F1
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050230

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

Preview Lab → · Contrast checker → · Palette generator →

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