#2030A5#2030A5

#2030A5 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.186 H 268.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2030A5
RGBrgb(32, 48, 165)
HSLhsl(233, 68%, 39%)
HSVhsv(233, 81%, 65%)
CMYKcmyk(80.6%, 70.9%, 0%, 35.3%)
CIE-LABlab(27.12, 37.22, -64.13)
CIE-LCHlch(27.12, 74.14, 300.13°)
OKLaboklab(38.69% -0.0038 -0.1858)
OKLCHoklch(38.69% 0.186 268.8)
XYZxyz(8.4418, 5.1366, 36.1366)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2030A5 #A59520
analogous
#2072A5 #2030A5 #5220A5
triadic
#2030A5 #A52030 #30A520
tetradic
#2030A5 #A52072 #A59520 #20A552
square
#2030A5 #A52072 #A59520 #20A552
split-complementary
#2030A5 #A55220 #72A520
monochromatic
#0C123E #162172 #2030A5 #2C41D6 #5F6FE0

Accessibility & contrast

On white

10.36
#2030A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2030A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2030A5
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2030A5#FFFFFF#000000##FFFFFF
##2030A51.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2030a5;
/* rgb */ color: rgb(32, 48, 165);
/* oklch */ color: oklch(38.7% 0.186 268.8);
Tailwind
colors: {
  custom: {
    50: '#7469c1',
    500: '#2030a5',
    950: '#000000',
  },
}
SCSS
$custom: #2030a5;
$custom-light: #7469c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2030a5",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 232.782,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.1858,
    "h": 268.8
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#2030A5
secondary
#C5B85C
accent
#D63DEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2030A5

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

Preview Lab → · Contrast checker → · Palette generator →

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