#021130#021130

#021130 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.066 H 260.3°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#021130
RGBrgb(2, 17, 48)
HSLhsl(220, 92%, 10%)
HSVhsv(220, 96%, 19%)
CMYKcmyk(95.8%, 64.6%, 0%, 81.2%)
CIE-LABlab(5.66, 6.67, -22.22)
CIE-LCHlch(5.66, 23.19, 286.71°)
OKLaboklab(18.7% -0.0112 -0.0655)
OKLCHoklch(18.7% 0.066 260.3)
XYZxyz(0.7588, 0.6271, 2.8768)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021130 #302102
analogous
#022830 #021130 #0A0230
triadic
#021130 #300211 #113002
tetradic
#021130 #300228 #302102 #02300A
square
#021130 #300228 #302102 #02300A
split-complementary
#021130 #300A02 #283002
monochromatic
#010A1D #010A1D #021130 #04266B #073BA6

Accessibility & contrast

On white

18.66
#021130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021130
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021130#FFFFFF#000000##FFFFFF
##0211301.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#00191E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #021130;
/* rgb */ color: rgb(2, 17, 48);
/* oklch */ color: oklch(18.7% 0.066 260.3);
Tailwind
colors: {
  custom: {
    50: '#4a4f68',
    500: '#021130',
    950: '#000000',
  },
}
SCSS
$custom: #021130;
$custom-light: #4a4f68;
$custom-dark: #000000;
JSON
{
  "hex": "#021130",
  "rgb": {
    "r": 2,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 220.435,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.187,
    "c": 0.06645,
    "h": 260.3
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#021130
secondary
#755719
accent
#B929FF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A

Preview Lab

Preview with #021130

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

Preview Lab → · Contrast checker → · Palette generator →

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