#2B479B#2B479B

#2B479B is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.141 H 266.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2B479B
RGBrgb(43, 71, 155)
HSLhsl(225, 57%, 39%)
HSVhsv(225, 72%, 61%)
CMYKcmyk(72.3%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.67, 19.49, -48.99)
CIE-LCHlch(32.67, 52.72, 291.70°)
OKLaboklab(42.67% -0.0086 -0.1409)
OKLCHoklch(42.67% 0.141 266.5)
XYZxyz(9.1638, 7.3857, 31.9466)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B479B #9B7F2B
analogous
#2B7F9B #2B479B #472B9B
triadic
#2B479B #9B2B47 #479B2B
tetradic
#2B479B #9B2B7F #9B7F2B #2B9B47
square
#2B479B #9B2B7F #9B7F2B #2B9B47
split-complementary
#2B479B #9B472B #7F9B2B
monochromatic
#101B3B #1E316B #2B479B #3B5EC9 #6B85D6

Accessibility & contrast

On white

8.48
#2B479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B479B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B479B#FFFFFF#000000##FFFFFF
##2B479B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09529E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b479b;
/* rgb */ color: rgb(43, 71, 155);
/* oklch */ color: oklch(42.7% 0.141 266.5);
Tailwind
colors: {
  custom: {
    50: '#7379b9',
    500: '#2b479b',
    950: '#000000',
  },
}
SCSS
$custom: #2b479b;
$custom-light: #7379b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b479b",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 225,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.14121,
    "h": 266.5
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#2B479B
secondary
#BCA765
accent
#BA48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B479B

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

Preview Lab → · Contrast checker → · Palette generator →

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