#030536#030536

#030536 is a very dark, moderate blue. Relative luminance 0.004; OKLCH L 16.7% C 0.093 H 268.2°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#030536
RGBrgb(3, 5, 54)
HSLhsl(238, 89%, 11%)
HSVhsv(238, 94%, 21%)
CMYKcmyk(94.4%, 90.7%, 0%, 78.8%)
CIE-LABlab(3.56, 15.68, -30.02)
CIE-LCHlch(3.56, 33.87, 297.58°)
OKLaboklab(16.69% -0.0029 -0.0932)
OKLCHoklch(16.69% 0.093 268.2)
XYZxyz(0.7574, 0.3941, 3.5255)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030536 #363403
analogous
#031E36 #030536 #1A0336
triadic
#030536 #360305 #053603
tetradic
#030536 #36031E #363403 #03361A
square
#030536 #36031E #363403 #03361A
split-complementary
#030536 #361A03 #1E3603
monochromatic
#02031D #02031D #030536 #060A70 #0910AA

Accessibility & contrast

On white

19.47
#030536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#030536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030536
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030536#FFFFFF#000000##FFFFFF
##0305361.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000A35
Tritanopia (blue-blind)
#00141D
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #030536;
/* rgb */ color: rgb(3, 5, 54);
/* oklch */ color: oklch(16.7% 0.093 268.2);
Tailwind
colors: {
  custom: {
    50: '#4c486d',
    500: '#030536',
    950: '#000000',
  },
}
SCSS
$custom: #030536;
$custom-light: #4c486d;
$custom-dark: #000000;
JSON
{
  "hex": "#030536",
  "rgb": {
    "r": 3,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 237.647,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.16686,
    "c": 0.0932,
    "h": 268.2
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#030536
secondary
#79751C
accent
#F729FF
background
#F4F4F6
surface
#E7E6EC
border
#C3C2C7
text
#020007
muted
#78777A

Preview Lab

Preview with #030536

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

Preview Lab → · Contrast checker → · Palette generator →

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