#2D458A#2D458A

#2D458A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.119 H 266.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D458A
RGBrgb(45, 69, 138)
HSLhsl(225, 51%, 36%)
HSVhsv(225, 67%, 54%)
CMYKcmyk(67.4%, 50%, 0%, 45.9%)
CIE-LABlab(30.99, 14.69, -41.30)
CIE-LCHlch(30.99, 43.84, 289.58°)
OKLaboklab(41.04% -0.0067 -0.1183)
OKLCHoklch(41.04% 0.119 266.7)
XYZxyz(7.7962, 6.6484, 24.9122)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D458A #8A722D
analogous
#2D738A #2D458A #432D8A
triadic
#2D458A #8A2D45 #458A2D
tetradic
#2D458A #8A2D73 #8A722D #2D8A43
square
#2D458A #8A2D73 #8A722D #2D8A43
split-complementary
#2D458A #8A432D #738A2D
monochromatic
#0F172E #1E2E5C #2D458A #3C5CB8 #6580CD

Accessibility & contrast

On white

9.01
#2D458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D458A
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D458A#FFFFFF#000000##FFFFFF
##2D458A1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#0A4589
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d458a;
/* rgb */ color: rgb(45, 69, 138);
/* oklch */ color: oklch(41.0% 0.119 266.7);
Tailwind
colors: {
  custom: {
    50: '#7178ad',
    500: '#2d458a',
    950: '#000000',
  },
}
SCSS
$custom: #2d458a;
$custom-light: #7178ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d458a",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 224.516,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41036,
    "c": 0.11851,
    "h": 266.7
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#2D458A
secondary
#B39E60
accent
#B64DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D458A

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

Preview Lab → · Contrast checker → · Palette generator →

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