#2030A8#2030A8

#2030A8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.190 H 268.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2030A8
RGBrgb(32, 48, 168)
HSLhsl(233, 68%, 39%)
HSVhsv(233, 81%, 66%)
CMYKcmyk(81%, 71.4%, 0%, 34.1%)
CIE-LABlab(27.43, 38.30, -65.43)
CIE-LCHlch(27.43, 75.82, 300.35°)
OKLaboklab(39% -0.0041 -0.1896)
OKLCHoklch(39% 0.19 268.8)
XYZxyz(8.7181, 5.2471, 37.5915)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2030A8 #A89820
analogous
#2074A8 #2030A8 #5420A8
triadic
#2030A8 #A82030 #30A820
tetradic
#2030A8 #A82074 #A89820 #20A854
square
#2030A8 #A82074 #A89820 #20A854
split-complementary
#2030A8 #A85420 #74A820
monochromatic
#0C1341 #162175 #2030A8 #2E42D7 #6170E1

Accessibility & contrast

On white

10.25
#2030A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2030A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2030A8
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2030A8#FFFFFF#000000##FFFFFF
##2030A81.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2030a8;
/* rgb */ color: rgb(32, 48, 168);
/* oklch */ color: oklch(39.0% 0.190 268.8);
Tailwind
colors: {
  custom: {
    50: '#7569c3',
    500: '#2030a8',
    950: '#000000',
  },
}
SCSS
$custom: #2030a8;
$custom-light: #7569c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2030a8",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 168
  },
  "hsl": {
    "h": 232.941,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.1896,
    "h": 268.8
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#2030A8
secondary
#C6BA5E
accent
#D63DEB
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2030A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2030A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva