#2145A1#2145A1

#2145A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.155 H 264.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2145A1
RGBrgb(33, 69, 161)
HSLhsl(223, 66%, 38%)
HSVhsv(223, 80%, 63%)
CMYKcmyk(79.5%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.15, 21.91, -53.47)
CIE-LCHlch(32.15, 57.79, 292.29°)
OKLaboklab(42.3% -0.015 -0.1543)
OKLCHoklch(42.3% 0.155 264.5)
XYZxyz(9.1861, 7.1517, 34.6076)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145A1 #A17D21
analogous
#2185A1 #2145A1 #3D21A1
triadic
#2145A1 #A12145 #45A121
tetradic
#2145A1 #A12185 #A17D21 #21A13D
square
#2145A1 #A12185 #A17D21 #21A13D
split-complementary
#2145A1 #A13D21 #85A121
monochromatic
#0C193B #172F6E #2145A1 #2C5BD4 #5E82DE

Accessibility & contrast

On white

8.64
#2145A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2145A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2145A1
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2145A1#FFFFFF#000000##FFFFFF
##2145A11.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2145a1;
/* rgb */ color: rgb(33, 69, 161);
/* oklch */ color: oklch(42.3% 0.155 264.5);
Tailwind
colors: {
  custom: {
    50: '#7178be',
    500: '#2145a1',
    950: '#000000',
  },
}
SCSS
$custom: #2145a1;
$custom-light: #7178be;
$custom-dark: #000000;
JSON
{
  "hex": "#2145a1",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 223.125,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.15508,
    "h": 264.5
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2145A1

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

Preview Lab → · Contrast checker → · Palette generator →

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