#2145A0#2145A0

#2145A0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.154 H 264.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2145A0
RGBrgb(33, 69, 160)
HSLhsl(223, 66%, 38%)
HSVhsv(223, 79%, 63%)
CMYKcmyk(79.4%, 56.9%, 0%, 37.3%)
CIE-LABlab(32.07, 21.52, -53.00)
CIE-LCHlch(32.07, 57.20, 292.10°)
OKLaboklab(42.22% -0.0151 -0.153)
OKLCHoklch(42.22% 0.154 264.4)
XYZxyz(9.0982, 7.1166, 34.1450)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145A0 #A07C21
analogous
#2184A0 #2145A0 #3C21A0
triadic
#2145A0 #A02145 #45A021
tetradic
#2145A0 #A02184 #A07C21 #21A03C
square
#2145A0 #A02184 #A07C21 #21A03C
split-complementary
#2145A0 #A03C21 #84A021
monochromatic
#0C193B #172F6D #2145A0 #2B5BD3 #5E82DE

Accessibility & contrast

On white

8.66
#2145A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2145A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2145A0
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2145A0#FFFFFF#000000##FFFFFF
##2145A01.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2145a0;
/* rgb */ color: rgb(33, 69, 160);
/* oklch */ color: oklch(42.2% 0.154 264.4);
Tailwind
colors: {
  custom: {
    50: '#7178bd',
    500: '#2145a0',
    950: '#000000',
  },
}
SCSS
$custom: #2145a0;
$custom-light: #7178bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2145a0",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 222.992,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.1537,
    "h": 264.4
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#2145A0
secondary
#C2A55B
accent
#B93FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2145A0

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

Preview Lab → · Contrast checker → · Palette generator →

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