#030236#030236

#030236 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.9% C 0.098 H 268.9°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#030236
RGBrgb(3, 2, 54)
HSLhsl(241, 93%, 11%)
HSVhsv(241, 96%, 21%)
CMYKcmyk(94.4%, 96.3%, 0%, 78.8%)
CIE-LABlab(2.97, 16.89, -30.97)
CIE-LCHlch(2.97, 35.27, 298.60°)
OKLaboklab(15.95% -0.002 -0.0982)
OKLCHoklch(15.95% 0.098 268.9)
XYZxyz(0.7249, 0.3290, 3.5146)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030236 #353602
analogous
#021B36 #030236 #1D0236
triadic
#030236 #360302 #023603
tetradic
#030236 #36021B #353602 #02361D
square
#030236 #36021B #353602 #02361D
split-complementary
#030236 #361D02 #1B3602
monochromatic
#02011E #02011E #030236 #060471 #0A06AC

Accessibility & contrast

On white

19.70
#030236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#030236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030236
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030236#FFFFFF#000000##FFFFFF
##0302361.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000835
Tritanopia (blue-blind)
#00121C
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #030236;
/* rgb */ color: rgb(3, 2, 54);
/* oklch */ color: oklch(15.9% 0.098 268.9);
Tailwind
colors: {
  custom: {
    50: '#4c476e',
    500: '#030236',
    950: '#000000',
  },
}
SCSS
$custom: #030236;
$custom-light: #4c476e;
$custom-dark: #000000;
JSON
{
  "hex": "#030236",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 241.154,
    "s": 92.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.15945,
    "c": 0.09818,
    "h": 268.9
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#030236
secondary
#787A1A
accent
#FF29FB
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #030236

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

Preview Lab → · Contrast checker → · Palette generator →

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