#2D458B#2D458B

#2D458B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.120 H 266.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2D458B
RGBrgb(45, 69, 139)
HSLhsl(225, 51%, 36%)
HSVhsv(225, 68%, 55%)
CMYKcmyk(67.6%, 50.4%, 0%, 45.5%)
CIE-LABlab(31.06, 15.07, -41.81)
CIE-LCHlch(31.06, 44.44, 289.82°)
OKLaboklab(41.11% -0.0066 -0.1198)
OKLCHoklch(41.11% 0.12 266.8)
XYZxyz(7.8689, 6.6775, 25.2953)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D458B #8B732D
analogous
#2D748B #2D458B #442D8B
triadic
#2D458B #8B2D45 #458B2D
tetradic
#2D458B #8B2D74 #8B732D #2D8B44
square
#2D458B #8B2D74 #8B732D #2D8B44
split-complementary
#2D458B #8B442D #748B2D
monochromatic
#0F172F #1E2E5D #2D458B #3C5CB9 #6580CD

Accessibility & contrast

On white

8.99
#2D458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D458B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D458B#FFFFFF#000000##FFFFFF
##2D458B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#07458A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d458b;
/* rgb */ color: rgb(45, 69, 139);
/* oklch */ color: oklch(41.1% 0.120 266.8);
Tailwind
colors: {
  custom: {
    50: '#7178ad',
    500: '#2d458b',
    950: '#000000',
  },
}
SCSS
$custom: #2d458b;
$custom-light: #7178ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d458b",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 224.681,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4111,
    "c": 0.11999,
    "h": 266.8
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#2D458B
secondary
#B49E60
accent
#B64DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D458B

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

Preview Lab → · Contrast checker → · Palette generator →

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