#2B479F#2B479F

#2B479F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.147 H 266.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2B479F
RGBrgb(43, 71, 159)
HSLhsl(226, 57%, 40%)
HSVhsv(226, 73%, 62%)
CMYKcmyk(73%, 55.3%, 0%, 37.6%)
CIE-LABlab(32.97, 21.02, -50.92)
CIE-LCHlch(32.97, 55.09, 292.43°)
OKLaboklab(42.99% -0.0083 -0.1466)
OKLCHoklch(42.99% 0.147 266.7)
XYZxyz(9.5053, 7.5223, 33.7452)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B479F #9F832B
analogous
#2B819F #2B479F #492B9F
triadic
#2B479F #9F2B47 #479F2B
tetradic
#2B479F #9F2B81 #9F832B #2B9F49
square
#2B479F #9F2B81 #9F832B #2B9F49
split-complementary
#2B479F #9F492B #819F2B
monochromatic
#111C3F #1E316F #2B479F #3D5FCA #6D87D7

Accessibility & contrast

On white

8.38
#2B479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B479F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B479F#FFFFFF#000000##FFFFFF
##2B479F1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b479f;
/* rgb */ color: rgb(43, 71, 159);
/* oklch */ color: oklch(43.0% 0.147 266.7);
Tailwind
colors: {
  custom: {
    50: '#7479bc',
    500: '#2b479f',
    950: '#000000',
  },
}
SCSS
$custom: #2b479f;
$custom-light: #7479bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b479f",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 225.517,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42986,
    "c": 0.14687,
    "h": 266.7
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#2B479F
secondary
#BEA967
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B479F

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

Preview Lab → · Contrast checker → · Palette generator →

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