#2D479F#2D479F

#2D479F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.146 H 267.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2D479F
RGBrgb(45, 71, 159)
HSLhsl(226, 56%, 40%)
HSVhsv(226, 72%, 62%)
CMYKcmyk(71.7%, 55.3%, 0%, 37.6%)
CIE-LABlab(33.06, 21.30, -50.76)
CIE-LCHlch(33.06, 55.05, 292.77°)
OKLaboklab(43.09% -0.0065 -0.1461)
OKLCHoklch(43.09% 0.146 267.5)
XYZxyz(9.5913, 7.5666, 33.7492)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D479F #9F852D
analogous
#2D809F #2D479F #4C2D9F
triadic
#2D479F #9F2D47 #479F2D
tetradic
#2D479F #9F2D80 #9F852D #2D9F4C
square
#2D479F #9F2D80 #9F852D #2D9F4C
split-complementary
#2D479F #9F4C2D #809F2D
monochromatic
#121C40 #20326F #2D479F #405FC9 #7087D6

Accessibility & contrast

On white

8.35
#2D479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D479F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D479F#FFFFFF#000000##FFFFFF
##2D479F1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d479f;
/* rgb */ color: rgb(45, 71, 159);
/* oklch */ color: oklch(43.1% 0.146 267.5);
Tailwind
colors: {
  custom: {
    50: '#7579bc',
    500: '#2d479f',
    950: '#000000',
  },
}
SCSS
$custom: #2d479f;
$custom-light: #7579bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d479f",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 226.316,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.14626,
    "h": 267.5
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#2D479F
secondary
#BEAB6A
accent
#BD49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D479F

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

Preview Lab → · Contrast checker → · Palette generator →

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