#2046A4#2046A4

#2046A4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.158 H 264.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2046A4
RGBrgb(32, 70, 164)
HSLhsl(223, 67%, 38%)
HSVhsv(223, 80%, 64%)
CMYKcmyk(80.5%, 57.3%, 0%, 35.7%)
CIE-LABlab(32.63, 22.31, -54.50)
CIE-LCHlch(32.63, 58.89, 292.26°)
OKLaboklab(42.73% -0.0162 -0.1574)
OKLCHoklch(42.73% 0.158 264.1)
XYZxyz(9.4843, 7.3666, 36.0368)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2046A4 #A47E20
analogous
#2088A4 #2046A4 #3C20A4
triadic
#2046A4 #A42046 #46A420
tetradic
#2046A4 #A42088 #A47E20 #20A43C
square
#2046A4 #A42088 #A47E20 #20A43C
split-complementary
#2046A4 #A43C20 #88A420
monochromatic
#0C1A3E #163071 #2046A4 #2B5CD6 #5F84E0

Accessibility & contrast

On white

8.49
#2046A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2046A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2046A4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2046A4#FFFFFF#000000##FFFFFF
##2046A41.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2046a4;
/* rgb */ color: rgb(32, 70, 164);
/* oklch */ color: oklch(42.7% 0.158 264.1);
Tailwind
colors: {
  custom: {
    50: '#7278c0',
    500: '#2046a4',
    950: '#000000',
  },
}
SCSS
$custom: #2046a4;
$custom-light: #7278c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2046a4",
  "rgb": {
    "r": 32,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 222.727,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.15821,
    "h": 264.1
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#2046A4
secondary
#C4A65C
accent
#B93EEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2046A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2046A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva