#2D479B#2D479B

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

Color values

HEX#2D479B
RGBrgb(45, 71, 155)
HSLhsl(226, 55%, 39%)
HSVhsv(226, 71%, 61%)
CMYKcmyk(71%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.77, 19.79, -48.82)
CIE-LCHlch(32.77, 52.68, 292.06°)
OKLaboklab(42.77% -0.0068 -0.1404)
OKLCHoklch(42.77% 0.141 267.2)
XYZxyz(9.2498, 7.4300, 31.9507)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D479B #9B812D
analogous
#2D7E9B #2D479B #4A2D9B
triadic
#2D479B #9B2D47 #479B2D
tetradic
#2D479B #9B2D7E #9B812D #2D9B4A
square
#2D479B #9B2D7E #9B812D #2D9B4A
split-complementary
#2D479B #9B4A2D #7E9B2D
monochromatic
#111C3C #1F316C #2D479B #3E5FC7 #6E86D5

Accessibility & contrast

On white

8.45
#2D479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D479B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D479B#FFFFFF#000000##FFFFFF
##2D479B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d479b;
/* rgb */ color: rgb(45, 71, 155);
/* oklch */ color: oklch(42.8% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#7479b9',
    500: '#2d479b',
    950: '#000000',
  },
}
SCSS
$custom: #2d479b;
$custom-light: #7479b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d479b",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 225.818,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42767,
    "c": 0.14058,
    "h": 267.2
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#2D479B
secondary
#BCA868
accent
#BB49DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D479B

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

Preview Lab → · Contrast checker → · Palette generator →

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