#2B488C#2B488C

#2B488C is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.118 H 264.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2B488C
RGBrgb(43, 72, 140)
HSLhsl(222, 53%, 36%)
HSVhsv(222, 69%, 55%)
CMYKcmyk(69.3%, 48.6%, 0%, 45.1%)
CIE-LABlab(31.90, 13.07, -41.08)
CIE-LCHlch(31.90, 43.11, 287.65°)
OKLaboklab(41.75% -0.0114 -0.1177)
OKLCHoklch(41.75% 0.118 264.5)
XYZxyz(8.0456, 7.0410, 25.7409)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B488C #8C6F2B
analogous
#2B788C #2B488C #3E2B8C
triadic
#2B488C #8C2B48 #488C2B
tetradic
#2B488C #8C2B78 #8C6F2B #2B8C3E
square
#2B488C #8C2B78 #8C6F2B #2B8C3E
split-complementary
#2B488C #8C3E2B #788C2B
monochromatic
#0E182E #1D305D #2B488C #3960BB #6283CF

Accessibility & contrast

On white

8.72
#2B488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B488C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B488C#FFFFFF#000000##FFFFFF
##2B488C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#0F478B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b488c;
/* rgb */ color: rgb(43, 72, 140);
/* oklch */ color: oklch(41.7% 0.118 264.5);
Tailwind
colors: {
  custom: {
    50: '#707aae',
    500: '#2b488c',
    950: '#000000',
  },
}
SCSS
$custom: #2b488c;
$custom-light: #707aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b488c",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 222.062,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41745,
    "c": 0.11821,
    "h": 264.5
  },
  "luminance": 0.07042
}

Semantic roles & 50–950 ramp

primary
#2B488C
secondary
#B59B5E
accent
#B14BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B488C

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

Preview Lab → · Contrast checker → · Palette generator →

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