#2143B2#2143B2

#2143B2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.180 H 265.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2143B2
RGBrgb(33, 67, 178)
HSLhsl(226, 69%, 41%)
HSVhsv(226, 81%, 70%)
CMYKcmyk(81.5%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.03, 29.85, -62.21)
CIE-LCHlch(33.03, 69.00, 295.63°)
OKLaboklab(43.4% -0.0132 -0.18)
OKLCHoklch(43.4% 0.181 265.8)
XYZxyz(10.6674, 7.5507, 43.0061)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2143B2 #B29021
analogous
#218CB2 #2143B2 #4821B2
triadic
#2143B2 #B22143 #43B221
tetradic
#2143B2 #B2218C #B29021 #21B248
square
#2143B2 #B2218C #B29021 #21B248
split-complementary
#2143B2 #B24821 #8CB221
monochromatic
#0E1C4B #17307E #2143B2 #365DDA #6A86E3

Accessibility & contrast

On white

8.37
#2143B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2143B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2143B2
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2143B2#FFFFFF#000000##FFFFFF
##2143B21.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2143b2;
/* rgb */ color: rgb(33, 67, 178);
/* oklch */ color: oklch(43.4% 0.180 265.8);
Tailwind
colors: {
  custom: {
    50: '#7676ca',
    500: '#2143b2',
    950: '#000000',
  },
}
SCSS
$custom: #2143b2;
$custom-light: #7676ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2143b2",
  "rgb": {
    "r": 33,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 225.931,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43399,
    "c": 0.1805,
    "h": 265.8
  },
  "luminance": 0.07552
}

Semantic roles & 50–950 ramp

primary
#2143B2
secondary
#C9B266
accent
#C23CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2143B2

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

Preview Lab → · Contrast checker → · Palette generator →

#2143B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva