#2145AE#2145AE

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

Color values

HEX#2145AE
RGBrgb(33, 69, 174)
HSLhsl(225, 68%, 41%)
HSVhsv(225, 81%, 68%)
CMYKcmyk(81%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.21, 26.98, -59.54)
CIE-LCHlch(33.21, 65.36, 294.38°)
OKLaboklab(43.43% -0.0144 -0.1721)
OKLCHoklch(43.43% 0.173 265.2)
XYZxyz(10.3926, 7.6343, 40.9620)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145AE #AE8A21
analogous
#218BAE #2145AE #4321AE
triadic
#2145AE #AE2145 #45AE21
tetradic
#2145AE #AE218B #AE8A21 #21AE43
square
#2145AE #AE218B #AE8A21 #21AE43
split-complementary
#2145AE #AE4321 #8BAE21
monochromatic
#0D1C47 #17317B #2145AE #345ED8 #6787E2

Accessibility & contrast

On white

8.31
#2145AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2145AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2145AE#FFFFFF#000000##FFFFFF
##2145AE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2145ae;
/* rgb */ color: rgb(33, 69, 174);
/* oklch */ color: oklch(43.4% 0.173 265.2);
Tailwind
colors: {
  custom: {
    50: '#7578c7',
    500: '#2145ae',
    950: '#000000',
  },
}
SCSS
$custom: #2145ae;
$custom-light: #7578c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2145ae",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 224.681,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.17275,
    "h": 265.2
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#2145AE
secondary
#C8AE63
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2145AE

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

Preview Lab → · Contrast checker → · Palette generator →

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