#020530#020530

#020530 is a very dark, moderate blue. Relative luminance 0.003; OKLCH L 15.7% C 0.085 H 267.2°. Best body text is #FFFFFF at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#020530
RGBrgb(2, 5, 48)
HSLhsl(236, 92%, 10%)
HSVhsv(236, 96%, 19%)
CMYKcmyk(95.8%, 89.6%, 0%, 81.2%)
CIE-LABlab(3.02, 12.06, -26.43)
CIE-LCHlch(3.02, 29.05, 294.53°)
OKLaboklab(15.72% -0.0041 -0.085)
OKLCHoklch(15.72% 0.085 267.2)
XYZxyz(0.6126, 0.3348, 2.8281)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020530 #302D02
analogous
#021C30 #020530 #160230
triadic
#020530 #300205 #053002
tetradic
#020530 #30021C #302D02 #023016
square
#020530 #30021C #302D02 #023016
split-complementary
#020530 #301602 #1C3002
monochromatic
#01031D #01031D #020530 #040B6B #0711A6

Accessibility & contrast

On white

19.68
#020530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #020530
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020530#FFFFFF#000000##FFFFFF
##0205301.0019.681.0719.68
#FFFFFF19.681.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D31
Deuteranopia (green-blind)
#00092F
Tritanopia (blue-blind)
#00111A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #020530;
/* rgb */ color: rgb(2, 5, 48);
/* oklch */ color: oklch(15.7% 0.085 267.2);
Tailwind
colors: {
  custom: {
    50: '#494869',
    500: '#020530',
    950: '#000000',
  },
}
SCSS
$custom: #020530;
$custom-light: #494869;
$custom-dark: #000000;
JSON
{
  "hex": "#020530",
  "rgb": {
    "r": 2,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 236.087,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15721,
    "c": 0.08507,
    "h": 267.2
  },
  "luminance": 0.00335
}

Semantic roles & 50–950 ramp

primary
#020530
secondary
#756F19
accent
#F129FF
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #020530

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

Preview Lab → · Contrast checker → · Palette generator →

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