#2D458D#2D458D

#2D458D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.123 H 267.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2D458D
RGBrgb(45, 69, 141)
HSLhsl(225, 52%, 36%)
HSVhsv(225, 68%, 55%)
CMYKcmyk(68.1%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.20, 15.83, -42.82)
CIE-LCHlch(31.20, 45.65, 290.29°)
OKLaboklab(41.26% -0.0064 -0.1228)
OKLCHoklch(41.26% 0.123 267)
XYZxyz(8.0164, 6.7365, 26.0719)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D458D #8D752D
analogous
#2D758D #2D458D #452D8D
triadic
#2D458D #8D2D45 #458D2D
tetradic
#2D458D #8D2D75 #8D752D #2D8D45
square
#2D458D #8D2D75 #8D752D #2D8D45
split-complementary
#2D458D #8D452D #758D2D
monochromatic
#0F1830 #1E2E5F #2D458D #3C5CBB #6680CE

Accessibility & contrast

On white

8.95
#2D458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D458D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D458D#FFFFFF#000000##FFFFFF
##2D458D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d458d;
/* rgb */ color: rgb(45, 69, 141);
/* oklch */ color: oklch(41.3% 0.123 267.0);
Tailwind
colors: {
  custom: {
    50: '#7178af',
    500: '#2d458d',
    950: '#000000',
  },
}
SCSS
$custom: #2d458d;
$custom-light: #7178af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d458d",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 225,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.12293,
    "h": 267
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D458D

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

Preview Lab → · Contrast checker → · Palette generator →

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