#2148A7#2148A7

#2148A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.160 H 264.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2148A7
RGBrgb(33, 72, 167)
HSLhsl(223, 67%, 39%)
HSVhsv(223, 80%, 65%)
CMYKcmyk(80.2%, 56.9%, 0%, 34.5%)
CIE-LABlab(33.45, 22.24, -54.96)
CIE-LCHlch(33.45, 59.29, 292.03°)
OKLaboklab(43.43% -0.0167 -0.1587)
OKLCHoklch(43.43% 0.16 264)
XYZxyz(9.9171, 7.7469, 37.5244)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2148A7 #A78021
analogous
#218BA7 #2148A7 #3D21A7
triadic
#2148A7 #A72148 #48A721
tetradic
#2148A7 #A7218B #A78021 #21A73D
square
#2148A7 #A7218B #A78021 #21A73D
split-complementary
#2148A7 #A73D21 #8BA721
monochromatic
#0D1C41 #173274 #2148A7 #2F60D6 #6287E0

Accessibility & contrast

On white

8.24
#2148A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2148A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2148A7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2148A7#FFFFFF#000000##FFFFFF
##2148A71.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2148a7;
/* rgb */ color: rgb(33, 72, 167);
/* oklch */ color: oklch(43.4% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#737ac2',
    500: '#2148a7',
    950: '#000000',
  },
}
SCSS
$custom: #2148a7;
$custom-light: #737ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2148a7",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 222.537,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43431,
    "c": 0.15956,
    "h": 264
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#2148A7
secondary
#C5A75F
accent
#B83EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2148A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2148A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva