#2145B1#2145B1

#2145B1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.177 H 265.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2145B1
RGBrgb(33, 69, 177)
HSLhsl(225, 69%, 41%)
HSVhsv(225, 81%, 69%)
CMYKcmyk(81.4%, 61%, 0%, 30.6%)
CIE-LABlab(33.46, 28.14, -60.91)
CIE-LCHlch(33.46, 67.09, 294.80°)
OKLaboklab(43.7% -0.0144 -0.1762)
OKLCHoklch(43.7% 0.177 265.3)
XYZxyz(10.6883, 7.7526, 42.5195)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145B1 #B18D21
analogous
#218DB1 #2145B1 #4521B1
triadic
#2145B1 #B12145 #45B121
tetradic
#2145B1 #B1218D #B18D21 #21B145
square
#2145B1 #B1218D #B18D21 #21B145
split-complementary
#2145B1 #B14521 #8DB121
monochromatic
#0E1D4A #17317D #2145B1 #365FD9 #6988E3

Accessibility & contrast

On white

8.23
#2145B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2145B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2145B1#FFFFFF#000000##FFFFFF
##2145B11.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2145b1;
/* rgb */ color: rgb(33, 69, 177);
/* oklch */ color: oklch(43.7% 0.177 265.3);
Tailwind
colors: {
  custom: {
    50: '#7678c9',
    500: '#2145b1',
    950: '#000000',
  },
}
SCSS
$custom: #2145b1;
$custom-light: #7678c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2145b1",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 225,
    "s": 68.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.17676,
    "h": 265.3
  },
  "luminance": 0.07754
}

Semantic roles & 50–950 ramp

primary
#2145B1
secondary
#C9B065
accent
#C03CEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2145B1

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

Preview Lab → · Contrast checker → · Palette generator →

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