#2145AA#2145AA

#2145AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.167 H 265.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2145AA
RGBrgb(33, 69, 170)
HSLhsl(224, 67%, 40%)
HSVhsv(224, 81%, 67%)
CMYKcmyk(80.6%, 59.4%, 0%, 33.3%)
CIE-LABlab(32.88, 25.43, -57.69)
CIE-LCHlch(32.88, 63.05, 293.79°)
OKLaboklab(43.08% -0.0145 -0.1667)
OKLCHoklch(43.08% 0.167 265)
XYZxyz(10.0085, 7.4807, 38.9388)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145AA #AA8621
analogous
#2189AA #2145AA #4221AA
triadic
#2145AA #AA2145 #45AA21
tetradic
#2145AA #AA2189 #AA8621 #21AA42
square
#2145AA #AA2189 #AA8621 #21AA42
split-complementary
#2145AA #AA4221 #89AA21
monochromatic
#0D1B43 #173077 #2145AA #315DD7 #6485E1

Accessibility & contrast

On white

8.41
#2145AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2145AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2145AA#FFFFFF#000000##FFFFFF
##2145AA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2145aa;
/* rgb */ color: rgb(33, 69, 170);
/* oklch */ color: oklch(43.1% 0.167 265.0);
Tailwind
colors: {
  custom: {
    50: '#7478c4',
    500: '#2145aa',
    950: '#000000',
  },
}
SCSS
$custom: #2145aa;
$custom-light: #7478c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2145aa",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 224.234,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.16737,
    "h": 265
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#2145AA
secondary
#C6AC61
accent
#BD3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2145AA

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

Preview Lab → · Contrast checker → · Palette generator →

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