#2140A0#2140A0

#2140A0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.160 H 265.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#2140A0
RGBrgb(33, 64, 160)
HSLhsl(225, 66%, 38%)
HSVhsv(225, 79%, 63%)
CMYKcmyk(79.4%, 60%, 0%, 37.3%)
CIE-LABlab(30.71, 24.91, -55.22)
CIE-LCHlch(30.71, 60.58, 294.28°)
OKLaboklab(41.19% -0.0116 -0.1596)
OKLCHoklch(41.19% 0.16 265.8)
XYZxyz(8.8035, 6.5272, 34.0468)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2140A0 #A08121
analogous
#2180A0 #2140A0 #4121A0
triadic
#2140A0 #A02140 #40A021
tetradic
#2140A0 #A02180 #A08121 #21A041
square
#2140A0 #A02180 #A08121 #21A041
split-complementary
#2140A0 #A04121 #80A021
monochromatic
#0C173B #172C6D #2140A0 #2B54D3 #5E7DDE

Accessibility & contrast

On white

9.11
#2140A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2140A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2140A0
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2140A0#FFFFFF#000000##FFFFFF
##2140A01.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2140a0;
/* rgb */ color: rgb(33, 64, 160);
/* oklch */ color: oklch(41.2% 0.160 265.8);
Tailwind
colors: {
  custom: {
    50: '#7274bd',
    500: '#2140a0',
    950: '#000000',
  },
}
SCSS
$custom: #2140a0;
$custom-light: #7274bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2140a0",
  "rgb": {
    "r": 33,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 225.354,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41194,
    "c": 0.15999,
    "h": 265.8
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#2140A0
secondary
#C2A95B
accent
#BF3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2140A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2140A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva