#2145AD#2145AD

#2145AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.171 H 265.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2145AD
RGBrgb(33, 69, 173)
HSLhsl(225, 68%, 40%)
HSVhsv(225, 81%, 68%)
CMYKcmyk(80.9%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.13, 26.60, -59.08)
CIE-LCHlch(33.13, 64.79, 294.24°)
OKLaboklab(43.34% -0.0145 -0.1708)
OKLCHoklch(43.34% 0.171 265.2)
XYZxyz(10.2955, 7.5955, 40.4505)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145AD #AD8921
analogous
#218BAD #2145AD #4321AD
triadic
#2145AD #AD2145 #45AD21
tetradic
#2145AD #AD218B #AD8921 #21AD43
square
#2145AD #AD218B #AD8921 #21AD43
split-complementary
#2145AD #AD4321 #8BAD21
monochromatic
#0D1C46 #17317A #2145AD #335ED8 #6686E2

Accessibility & contrast

On white

8.34
#2145AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2145AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2145AD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2145AD#FFFFFF#000000##FFFFFF
##2145AD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2145ad;
/* rgb */ color: rgb(33, 69, 173);
/* oklch */ color: oklch(43.3% 0.171 265.2);
Tailwind
colors: {
  custom: {
    50: '#7578c6',
    500: '#2145ad',
    950: '#000000',
  },
}
SCSS
$custom: #2145ad;
$custom-light: #7578c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2145ad",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 224.571,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43339,
    "c": 0.17141,
    "h": 265.2
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#2145AD
secondary
#C7AD62
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2145AD

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

Preview Lab → · Contrast checker → · Palette generator →

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