#2D458F#2D458F

#2D458F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.126 H 267.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2D458F
RGBrgb(45, 69, 143)
HSLhsl(225, 52%, 37%)
HSVhsv(225, 69%, 56%)
CMYKcmyk(68.5%, 51.7%, 0%, 43.9%)
CIE-LABlab(31.34, 16.58, -43.82)
CIE-LCHlch(31.34, 46.85, 290.73°)
OKLaboklab(41.41% -0.0061 -0.1257)
OKLCHoklch(41.41% 0.126 267.2)
XYZxyz(8.1665, 6.7965, 26.8628)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D458F #8F772D
analogous
#2D768F #2D458F #462D8F
triadic
#2D458F #8F2D45 #458F2D
tetradic
#2D458F #8F2D76 #8F772D #2D8F46
square
#2D458F #8F2D76 #8F772D #2D8F46
split-complementary
#2D458F #8F462D #768F2D
monochromatic
#101832 #1E2F60 #2D458F #3C5BBE #6781CF

Accessibility & contrast

On white

8.90
#2D458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D458F
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D458F#FFFFFF#000000##FFFFFF
##2D458F1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d458f;
/* rgb */ color: rgb(45, 69, 143);
/* oklch */ color: oklch(41.4% 0.126 267.2);
Tailwind
colors: {
  custom: {
    50: '#7278b0',
    500: '#2d458f',
    950: '#000000',
  },
}
SCSS
$custom: #2d458f;
$custom-light: #7278b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d458f",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 225.306,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41411,
    "c": 0.12587,
    "h": 267.2
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#2D458F
secondary
#B6A162
accent
#B84CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D458F

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

Preview Lab → · Contrast checker → · Palette generator →

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