#2B479A#2B479A

#2B479A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.140 H 266.4°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2B479A
RGBrgb(43, 71, 154)
HSLhsl(225, 56%, 39%)
HSVhsv(225, 72%, 60%)
CMYKcmyk(72.1%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.60, 19.11, -48.50)
CIE-LCHlch(32.60, 52.13, 291.50°)
OKLaboklab(42.59% -0.0087 -0.1395)
OKLCHoklch(42.59% 0.14 266.4)
XYZxyz(9.0802, 7.3522, 31.5062)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B479A #9A7E2B
analogous
#2B7E9A #2B479A #462B9A
triadic
#2B479A #9A2B47 #479A2B
tetradic
#2B479A #9A2B7E #9A7E2B #2B9A46
square
#2B479A #9A2B7E #9A7E2B #2B9A46
split-complementary
#2B479A #9A462B #7E9A2B
monochromatic
#101B3A #1E316A #2B479A #3A5EC8 #6A85D5

Accessibility & contrast

On white

8.50
#2B479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2B479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B479A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B479A#FFFFFF#000000##FFFFFF
##2B479A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C529D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b479a;
/* rgb */ color: rgb(43, 71, 154);
/* oklch */ color: oklch(42.6% 0.140 266.4);
Tailwind
colors: {
  custom: {
    50: '#7379b8',
    500: '#2b479a',
    950: '#000000',
  },
}
SCSS
$custom: #2b479a;
$custom-light: #7379b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b479a",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 224.865,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.13978,
    "h": 266.4
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#2B479A
secondary
#BCA665
accent
#B948E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B479A

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

Preview Lab → · Contrast checker → · Palette generator →

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