#030226#030226

#030226 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 13.5% C 0.076 H 272.1°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#030226
RGBrgb(3, 2, 38)
HSLhsl(242, 90%, 8%)
HSVhsv(242, 95%, 15%)
CMYKcmyk(92.1%, 94.7%, 0%, 85.1%)
CIE-LABlab(1.83, 8.86, -20.68)
CIE-LCHlch(1.83, 22.50, 293.20°)
OKLaboklab(13.45% 0.0028 -0.0756)
OKLCHoklch(13.45% 0.076 272.1)
XYZxyz(0.4090, 0.2027, 1.8509)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#030226 #252602
analogous
#021326 #030226 #150226
triadic
#030226 #260302 #022603
tetradic
#030226 #260213 #252602 #022615
square
#030226 #260213 #252602 #022615
split-complementary
#030226 #261502 #132602
monochromatic
#02021D #02021D #030226 #080560 #0C089A

Accessibility & contrast

On white

20.18
#030226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#030226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #030226
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##030226#FFFFFF#000000##FFFFFF
##0302261.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000525
Tritanopia (blue-blind)
#000B13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #030226;
/* rgb */ color: rgb(3, 2, 38);
/* oklch */ color: oklch(13.5% 0.076 272.1);
Tailwind
colors: {
  custom: {
    50: '#484760',
    500: '#030226',
    950: '#000000',
  },
}
SCSS
$custom: #030226;
$custom-light: #484760;
$custom-dark: #000000;
JSON
{
  "hex": "#030226",
  "rgb": {
    "r": 3,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 241.667,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.13451,
    "c": 0.07561,
    "h": 272.1
  },
  "luminance": 0.00203
}

Semantic roles & 50–950 ramp

primary
#030226
secondary
#696B18
accent
#FF29F9
background
#F4F4F5
surface
#E6E6E9
border
#C2C2C5
text
#000005
muted
#777779

Preview Lab

Preview with #030226

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

Preview Lab → · Contrast checker → · Palette generator →

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