#2030A7#2030A7

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

Color values

HEX#2030A7
RGBrgb(32, 48, 167)
HSLhsl(233, 68%, 39%)
HSVhsv(233, 81%, 65%)
CMYKcmyk(80.8%, 71.3%, 0%, 34.5%)
CIE-LABlab(27.32, 37.94, -65.00)
CIE-LCHlch(27.32, 75.26, 300.28°)
OKLaboklab(38.9% -0.004 -0.1883)
OKLCHoklch(38.9% 0.188 268.8)
XYZxyz(8.6253, 5.2100, 37.1028)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2030A7 #A79720
analogous
#2074A7 #2030A7 #5420A7
triadic
#2030A7 #A72030 #30A720
tetradic
#2030A7 #A72074 #A79720 #20A754
square
#2030A7 #A72074 #A79720 #20A754
split-complementary
#2030A7 #A75420 #74A720
monochromatic
#0C1240 #162174 #2030A7 #2D41D7 #6170E1

Accessibility & contrast

On white

10.28
#2030A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2030A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2030A7
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2030A7#FFFFFF#000000##FFFFFF
##2030A71.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2030a7;
/* rgb */ color: rgb(32, 48, 167);
/* oklch */ color: oklch(38.9% 0.188 268.8);
Tailwind
colors: {
  custom: {
    50: '#7569c2',
    500: '#2030a7',
    950: '#000000',
  },
}
SCSS
$custom: #2030a7;
$custom-light: #7569c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2030a7",
  "rgb": {
    "r": 32,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 232.889,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.18834,
    "h": 268.8
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2030A7

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

Preview Lab → · Contrast checker → · Palette generator →

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