#2B488A#2B488A

#2B488A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.115 H 264.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2B488A
RGBrgb(43, 72, 138)
HSLhsl(222, 52%, 35%)
HSVhsv(222, 69%, 54%)
CMYKcmyk(68.8%, 47.8%, 0%, 45.9%)
CIE-LABlab(31.77, 12.31, -40.06)
CIE-LCHlch(31.77, 41.91, 287.08°)
OKLaboklab(41.6% -0.0117 -0.1147)
OKLCHoklch(41.6% 0.115 264.2)
XYZxyz(7.8995, 6.9825, 24.9713)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B488A #8A6D2B
analogous
#2B778A #2B488A #3D2B8A
triadic
#2B488A #8A2B48 #488A2B
tetradic
#2B488A #8A2B77 #8A6D2B #2B8A3D
square
#2B488A #8A2B77 #8A6D2B #2B8A3D
split-complementary
#2B488A #8A3D2B #778A2B
monochromatic
#0E172D #1C305B #2B488A #3A60B9 #6183CE

Accessibility & contrast

On white

8.76
#2B488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B488A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B488A#FFFFFF#000000##FFFFFF
##2B488A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#134789
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b488a;
/* rgb */ color: rgb(43, 72, 138);
/* oklch */ color: oklch(41.6% 0.115 264.2);
Tailwind
colors: {
  custom: {
    50: '#707aad',
    500: '#2b488a',
    950: '#000000',
  },
}
SCSS
$custom: #2b488a;
$custom-light: #707aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b488a",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 221.684,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.416,
    "c": 0.11526,
    "h": 264.2
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#2B488A
secondary
#B4995D
accent
#B04CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B488A

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

Preview Lab → · Contrast checker → · Palette generator →

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