#020F25#020F25

#020F25 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.1% C 0.051 H 257.0°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#020F25
RGBrgb(2, 15, 37)
HSLhsl(218, 90%, 8%)
HSVhsv(218, 95%, 15%)
CMYKcmyk(94.6%, 59.5%, 0%, 85.5%)
CIE-LABlab(4.41, 2.69, -15.91)
CIE-LCHlch(4.41, 16.14, 279.61°)
OKLaboklab(17.07% -0.0114 -0.0493)
OKLCHoklch(17.07% 0.051 257)
XYZxyz(0.5297, 0.4881, 1.8162)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020F25 #251802
analogous
#022025 #020F25 #060225
triadic
#020F25 #25020F #0F2502
tetradic
#020F25 #250220 #251802 #022506
square
#020F25 #250220 #251802 #022506
split-complementary
#020F25 #250602 #202502
monochromatic
#020C1D #020C1D #020F25 #05275F #083E99

Accessibility & contrast

On white

19.13
#020F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#020F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020F25
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020F25#FFFFFF#000000##FFFFFF
##020F251.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041126
Deuteranopia (green-blind)
#000E25
Tritanopia (blue-blind)
#001418
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #020f25;
/* rgb */ color: rgb(2, 15, 37);
/* oklch */ color: oklch(17.1% 0.051 257.0);
Tailwind
colors: {
  custom: {
    50: '#474e5f',
    500: '#020f25',
    950: '#000000',
  },
}
SCSS
$custom: #020f25;
$custom-light: #474e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#020f25",
  "rgb": {
    "r": 2,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 217.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17073,
    "c": 0.05064,
    "h": 257
  },
  "luminance": 0.00488
}

Semantic roles & 50–950 ramp

primary
#020F25
secondary
#6A4C18
accent
#AF29FF
background
#F4F4F5
surface
#E6E7E9
border
#C2C3C5
text
#000104
muted
#777779

Preview Lab

Preview with #020F25

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

Preview Lab → · Contrast checker → · Palette generator →

#020F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva