#2D459F#2D459F

#2D459F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.149 H 268.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2D459F
RGBrgb(45, 69, 159)
HSLhsl(227, 56%, 40%)
HSVhsv(227, 72%, 62%)
CMYKcmyk(71.7%, 56.6%, 0%, 37.6%)
CIE-LABlab(32.52, 22.64, -51.65)
CIE-LCHlch(32.52, 56.39, 293.67°)
OKLaboklab(42.67% -0.0048 -0.1488)
OKLCHoklch(42.67% 0.149 268.1)
XYZxyz(9.4662, 7.3164, 33.7075)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D459F #9F872D
analogous
#2D7E9F #2D459F #4E2D9F
triadic
#2D459F #9F2D45 #459F2D
tetradic
#2D459F #9F2D7E #9F872D #2D9F4E
square
#2D459F #9F2D7E #9F872D #2D9F4E
split-complementary
#2D459F #9F4E2D #7E9F2D
monochromatic
#121C40 #20306F #2D459F #405DC9 #7086D6

Accessibility & contrast

On white

8.52
#2D459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D459F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D459F#FFFFFF#000000##FFFFFF
##2D459F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d459f;
/* rgb */ color: rgb(45, 69, 159);
/* oklch */ color: oklch(42.7% 0.149 268.1);
Tailwind
colors: {
  custom: {
    50: '#7578bc',
    500: '#2d459f',
    950: '#000000',
  },
}
SCSS
$custom: #2d459f;
$custom-light: #7578bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d459f",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 227.368,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.14884,
    "h": 268.1
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#2D459F
secondary
#BEAC6A
accent
#BF49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D459F

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

Preview Lab → · Contrast checker → · Palette generator →

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