#050B3F#050B3F

#050B3F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.3% C 0.097 H 268.2°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#050B3F
RGBrgb(5, 11, 63)
HSLhsl(234, 85%, 13%)
HSVhsv(234, 92%, 25%)
CMYKcmyk(92.1%, 82.5%, 0%, 75.3%)
CIE-LABlab(5.69, 18.87, -33.08)
CIE-LCHlch(5.69, 38.09, 299.70°)
OKLaboklab(19.3% -0.0031 -0.0972)
OKLCHoklch(19.3% 0.097 268.2)
XYZxyz(1.0792, 0.6304, 4.7665)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050B3F #3F3905
analogous
#05283F #050B3F #1C053F
triadic
#050B3F #3F050B #0B3F05
tetradic
#050B3F #3F0528 #3F3905 #053F1C
square
#050B3F #3F0528 #3F3905 #053F1C
split-complementary
#050B3F #3F1C05 #283F05
monochromatic
#02051C #02051C #050B3F #091578 #0E1FB0

Accessibility & contrast

On white

18.65
#050B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#050B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #050B3F
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050B3F#FFFFFF#000000##FFFFFF
##050B3F1.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00103E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #050b3f;
/* rgb */ color: rgb(5, 11, 63);
/* oklch */ color: oklch(19.3% 0.097 268.2);
Tailwind
colors: {
  custom: {
    50: '#514a75',
    500: '#050b3f',
    950: '#000000',
  },
}
SCSS
$custom: #050b3f;
$custom-light: #514a75;
$custom-dark: #000000;
JSON
{
  "hex": "#050b3f",
  "rgb": {
    "r": 5,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 233.793,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19295,
    "c": 0.09726,
    "h": 268.2
  },
  "luminance": 0.0063
}

Semantic roles & 50–950 ramp

primary
#050B3F
secondary
#807620
accent
#E62CFC
background
#F4F4F7
surface
#E7E7ED
border
#C3C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #050B3F

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

Preview Lab → · Contrast checker → · Palette generator →

#050B3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva