#2D458E#2D458E

#2D458E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.124 H 267.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2D458E
RGBrgb(45, 69, 142)
HSLhsl(225, 52%, 37%)
HSVhsv(225, 68%, 56%)
CMYKcmyk(68.3%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.27, 16.21, -43.32)
CIE-LCHlch(31.27, 46.25, 290.51°)
OKLaboklab(41.34% -0.0062 -0.1242)
OKLCHoklch(41.34% 0.124 267.1)
XYZxyz(8.0911, 6.7664, 26.4656)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D458E #8E762D
analogous
#2D768E #2D458E #462D8E
triadic
#2D458E #8E2D45 #458E2D
tetradic
#2D458E #8E2D76 #8E762D #2D8E46
square
#2D458E #8E2D76 #8E762D #2D8E46
split-complementary
#2D458E #8E462D #768E2D
monochromatic
#101831 #1E2E60 #2D458E #3C5CBC #6780CF

Accessibility & contrast

On white

8.92
#2D458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D458E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D458E#FFFFFF#000000##FFFFFF
##2D458E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d458e;
/* rgb */ color: rgb(45, 69, 142);
/* oklch */ color: oklch(41.3% 0.124 267.1);
Tailwind
colors: {
  custom: {
    50: '#7278b0',
    500: '#2d458e',
    950: '#000000',
  },
}
SCSS
$custom: #2d458e;
$custom-light: #7278b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d458e",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 225.155,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.12441,
    "h": 267.1
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#2D458E
secondary
#B5A161
accent
#B84CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D458E

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

Preview Lab → · Contrast checker → · Palette generator →

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