#2146A4#2146A4

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

Color values

HEX#2146A4
RGBrgb(33, 70, 164)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 80%, 64%)
CMYKcmyk(79.9%, 57.3%, 0%, 35.7%)
CIE-LABlab(32.66, 22.41, -54.44)
CIE-LCHlch(32.66, 58.88, 292.38°)
OKLaboklab(42.76% -0.0155 -0.1572)
OKLCHoklch(42.76% 0.158 264.4)
XYZxyz(9.5158, 7.3829, 36.0383)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2146A4 #A47F21
analogous
#2187A4 #2146A4 #3D21A4
triadic
#2146A4 #A42146 #46A421
tetradic
#2146A4 #A42187 #A47F21 #21A43D
square
#2146A4 #A42187 #A47F21 #21A43D
split-complementary
#2146A4 #A43D21 #87A421
monochromatic
#0C1B3E #173071 #2146A4 #2D5DD5 #6084DF

Accessibility & contrast

On white

8.48
#2146A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2146A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2146A4
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2146A4#FFFFFF#000000##FFFFFF
##2146A41.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.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: #2146a4;
/* rgb */ color: rgb(33, 70, 164);
/* oklch */ color: oklch(42.8% 0.158 264.4);
Tailwind
colors: {
  custom: {
    50: '#7278c0',
    500: '#2146a4',
    950: '#000000',
  },
}
SCSS
$custom: #2146a4;
$custom-light: #7278c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2146a4",
  "rgb": {
    "r": 33,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 223.053,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.15795,
    "h": 264.4
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#2146A4
secondary
#C4A75D
accent
#B93EE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2146A4

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

Preview Lab → · Contrast checker → · Palette generator →

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