#2D459E#2D459E

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

Color values

HEX#2D459E
RGBrgb(45, 69, 158)
HSLhsl(227, 56%, 40%)
HSVhsv(227, 72%, 62%)
CMYKcmyk(71.5%, 56.3%, 0%, 38%)
CIE-LABlab(32.44, 22.26, -51.17)
CIE-LCHlch(32.44, 55.80, 293.52°)
OKLaboklab(42.59% -0.0049 -0.1473)
OKLCHoklch(42.59% 0.147 268.1)
XYZxyz(9.3797, 7.2818, 33.2523)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D459E #9E862D
analogous
#2D7D9E #2D459E #4E2D9E
triadic
#2D459E #9E2D45 #459E2D
tetradic
#2D459E #9E2D7D #9E862D #2D9E4E
square
#2D459E #9E2D7D #9E862D #2D9E4E
split-complementary
#2D459E #9E4E2D #7D9E2D
monochromatic
#121B3F #1F306E #2D459E #405DC9 #6F85D6

Accessibility & contrast

On white

8.55
#2D459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D459E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D459E#FFFFFF#000000##FFFFFF
##2D459E1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d459e;
/* rgb */ color: rgb(45, 69, 158);
/* oklch */ color: oklch(42.6% 0.147 268.1);
Tailwind
colors: {
  custom: {
    50: '#7578bb',
    500: '#2d459e',
    950: '#000000',
  },
}
SCSS
$custom: #2d459e;
$custom-light: #7578bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d459e",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 227.257,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42592,
    "c": 0.14742,
    "h": 268.1
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D459E

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

Preview Lab → · Contrast checker → · Palette generator →

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