#2D458C#2D458C

#2D458C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.121 H 266.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2D458C
RGBrgb(45, 69, 140)
HSLhsl(225, 51%, 36%)
HSVhsv(225, 68%, 55%)
CMYKcmyk(67.9%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.13, 15.45, -42.31)
CIE-LCHlch(31.13, 45.05, 290.06°)
OKLaboklab(41.19% -0.0065 -0.1213)
OKLCHoklch(41.19% 0.121 266.9)
XYZxyz(7.9423, 6.7068, 25.6818)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D458C #8C742D
analogous
#2D758C #2D458C #452D8C
triadic
#2D458C #8C2D45 #458C2D
tetradic
#2D458C #8C2D75 #8C742D #2D8C45
square
#2D458C #8C2D75 #8C742D #2D8C45
split-complementary
#2D458C #8C452D #758C2D
monochromatic
#0F172F #1E2E5E #2D458C #3C5CBA #6680CE

Accessibility & contrast

On white

8.97
#2D458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D458C
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D458C#FFFFFF#000000##FFFFFF
##2D458C1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d458c;
/* rgb */ color: rgb(45, 69, 140);
/* oklch */ color: oklch(41.2% 0.121 266.9);
Tailwind
colors: {
  custom: {
    50: '#7178ae',
    500: '#2d458c',
    950: '#000000',
  },
}
SCSS
$custom: #2d458c;
$custom-light: #7178ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d458c",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 224.842,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.12146,
    "h": 266.9
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#2D458C
secondary
#B49F60
accent
#B74DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D458C

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

Preview Lab → · Contrast checker → · Palette generator →

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