#050330#050330

#050330 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.5% C 0.087 H 272.8°. Best body text is #FFFFFF at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#050330
RGBrgb(5, 3, 48)
HSLhsl(243, 88%, 10%)
HSVhsv(243, 94%, 19%)
CMYKcmyk(89.6%, 93.8%, 0%, 81.2%)
CIE-LABlab(2.81, 13.65, -26.77)
CIE-LCHlch(2.81, 30.05, 297.02°)
OKLaboklab(15.52% 0.0043 -0.0868)
OKLCHoklch(15.52% 0.087 272.8)
XYZxyz(0.6285, 0.3107, 2.8226)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050330 #2E3003
analogous
#031730 #050330 #1C0330
triadic
#050330 #300503 #033005
tetradic
#050330 #300317 #2E3003 #03301C
square
#050330 #300317 #2E3003 #03301C
split-complementary
#050330 #301C03 #173003
monochromatic
#03021D #03021D #050330 #0B076A #110AA3

Accessibility & contrast

On white

19.77
#050330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050330
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050330#FFFFFF#000000##FFFFFF
##0503301.0019.771.0619.77
#FFFFFF19.771.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050330;
/* rgb */ color: rgb(5, 3, 48);
/* oklch */ color: oklch(15.5% 0.087 272.8);
Tailwind
colors: {
  custom: {
    50: '#4b4869',
    500: '#050330',
    950: '#000000',
  },
}
SCSS
$custom: #050330;
$custom-light: #4b4869;
$custom-dark: #000000;
JSON
{
  "hex": "#050330",
  "rgb": {
    "r": 5,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 242.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.15516,
    "c": 0.08691,
    "h": 272.8
  },
  "luminance": 0.00311
}

Semantic roles & 50–950 ramp

primary
#050330
secondary
#70731B
accent
#FE29F5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #050330

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

Preview Lab → · Contrast checker → · Palette generator →

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