#2B488E#2B488E

#2B488E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.121 H 264.8°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2B488E
RGBrgb(43, 72, 142)
HSLhsl(222, 54%, 36%)
HSVhsv(222, 70%, 56%)
CMYKcmyk(69.7%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.03, 13.84, -42.09)
CIE-LCHlch(32.03, 44.31, 288.20°)
OKLaboklab(41.89% -0.0111 -0.1206)
OKLCHoklch(41.89% 0.121 264.8)
XYZxyz(8.1944, 7.1005, 26.5246)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B488E #8E712B
analogous
#2B7A8E #2B488E #402B8E
triadic
#2B488E #8E2B48 #488E2B
tetradic
#2B488E #8E2B7A #8E712B #2B8E40
square
#2B488E #8E2B7A #8E712B #2B8E40
split-complementary
#2B488E #8E402B #7A8E2B
monochromatic
#0F1830 #1D305F #2B488E #3960BD #6383D0

Accessibility & contrast

On white

8.68
#2B488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B488E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B488E#FFFFFF#000000##FFFFFF
##2B488E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#0A478D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b488e;
/* rgb */ color: rgb(43, 72, 142);
/* oklch */ color: oklch(41.9% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#707aaf',
    500: '#2b488e',
    950: '#000000',
  },
}
SCSS
$custom: #2b488e;
$custom-light: #707aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b488e",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 222.424,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.12114,
    "h": 264.8
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#2B488E
secondary
#B69C5F
accent
#B24BDD
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B488E

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

Preview Lab → · Contrast checker → · Palette generator →

#2B488E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva