#2D459C#2D459C

#2D459C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.145 H 268.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2D459C
RGBrgb(45, 69, 156)
HSLhsl(227, 55%, 39%)
HSVhsv(227, 71%, 61%)
CMYKcmyk(71.2%, 55.8%, 0%, 38.8%)
CIE-LABlab(32.29, 21.51, -50.20)
CIE-LCHlch(32.29, 54.62, 293.19°)
OKLaboklab(42.43% -0.005 -0.1445)
OKLCHoklch(42.43% 0.145 268)
XYZxyz(9.2090, 7.2135, 32.3531)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D459C #9C842D
analogous
#2D7D9C #2D459C #4D2D9C
triadic
#2D459C #9C2D45 #459C2D
tetradic
#2D459C #9C2D7D #9C842D #2D9C4D
square
#2D459C #9C2D7D #9C842D #2D9C4D
split-complementary
#2D459C #9C4D2D #7D9C2D
monochromatic
#121B3D #1F306D #2D459C #3F5CC8 #6E84D5

Accessibility & contrast

On white

8.60
#2D459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2D459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D459C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D459C#FFFFFF#000000##FFFFFF
##2D459C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d459c;
/* rgb */ color: rgb(45, 69, 156);
/* oklch */ color: oklch(42.4% 0.145 268.0);
Tailwind
colors: {
  custom: {
    50: '#7578ba',
    500: '#2d459c',
    950: '#000000',
  },
}
SCSS
$custom: #2d459c;
$custom-light: #7578ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d459c",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 227.027,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.1446,
    "h": 268
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#2D459C
secondary
#BCAA68
accent
#BE49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D459C

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

Preview Lab → · Contrast checker → · Palette generator →

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