#2145A3#2145A3

#2145A3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.158 H 264.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2145A3
RGBrgb(33, 69, 163)
HSLhsl(223, 66%, 38%)
HSVhsv(223, 80%, 64%)
CMYKcmyk(79.8%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.31, 22.70, -54.42)
CIE-LCHlch(32.31, 58.96, 292.64°)
OKLaboklab(42.47% -0.0149 -0.1571)
OKLCHoklch(42.47% 0.158 264.6)
XYZxyz(9.3638, 7.2228, 35.5439)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2145A3 #A37F21
analogous
#2186A3 #2145A3 #3E21A3
triadic
#2145A3 #A32145 #45A321
tetradic
#2145A3 #A32186 #A37F21 #21A33E
square
#2145A3 #A32186 #A37F21 #21A33E
split-complementary
#2145A3 #A33E21 #86A321
monochromatic
#0C1A3D #172F70 #2145A3 #2D5BD4 #6083DF

Accessibility & contrast

On white

8.59
#2145A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2145A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2145A3#FFFFFF#000000##FFFFFF
##2145A31.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2145a3;
/* rgb */ color: rgb(33, 69, 163);
/* oklch */ color: oklch(42.5% 0.158 264.6);
Tailwind
colors: {
  custom: {
    50: '#7278bf',
    500: '#2145a3',
    950: '#000000',
  },
}
SCSS
$custom: #2145a3;
$custom-light: #7278bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2145a3",
  "rgb": {
    "r": 33,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 223.385,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.15783,
    "h": 264.6
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#2145A3
secondary
#C3A75C
accent
#BA3FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2145A3

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

Preview Lab → · Contrast checker → · Palette generator →

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