#2D457A#2D457A

#2D457A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.094 H 264.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D457A
RGBrgb(45, 69, 122)
HSLhsl(221, 46%, 33%)
HSVhsv(221, 63%, 48%)
CMYKcmyk(63.1%, 43.4%, 0%, 52.2%)
CIE-LABlab(29.96, 8.68, -33.02)
CIE-LCHlch(29.96, 34.14, 284.72°)
OKLaboklab(39.91% -0.0095 -0.094)
OKLCHoklch(39.91% 0.094 264.2)
XYZxyz(6.7220, 6.2187, 19.2547)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D457A #7A622D
analogous
#2D6B7A #2D457A #3C2D7A
triadic
#2D457A #7A2D45 #457A2D
tetradic
#2D457A #7A2D6B #7A622D #2D7A3C
square
#2D457A #7A2D6B #7A622D #2D7A3C
split-complementary
#2D457A #7A3C2D #6B7A2D
monochromatic
#0C1221 #1D2C4D #2D457A #3D5EA7 #5E7EC4

Accessibility & contrast

On white

9.36
#2D457A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D457A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D457A
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D457A#FFFFFF#000000##FFFFFF
##2D457A1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#234379
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d457a;
/* rgb */ color: rgb(45, 69, 122);
/* oklch */ color: oklch(39.9% 0.094 264.2);
Tailwind
colors: {
  custom: {
    50: '#6e78a1',
    500: '#2d457a',
    950: '#000000',
  },
}
SCSS
$custom: #2d457a;
$custom-light: #6e78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d457a",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 122
  },
  "hsl": {
    "h": 221.299,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39909,
    "c": 0.09447,
    "h": 264.2
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#2D457A
secondary
#AA9159
accent
#AD52D6
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08080F
muted
#7B7B7E

Preview Lab

Preview with #2D457A

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

Preview Lab → · Contrast checker → · Palette generator →

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