#2D457C#2D457C

#2D457C is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.098 H 264.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2D457C
RGBrgb(45, 69, 124)
HSLhsl(222, 47%, 33%)
HSVhsv(222, 64%, 49%)
CMYKcmyk(63.7%, 44.4%, 0%, 51.4%)
CIE-LABlab(30.08, 9.42, -34.08)
CIE-LCHlch(30.08, 35.36, 285.46°)
OKLaboklab(40.04% -0.0091 -0.0971)
OKLCHoklch(40.04% 0.098 264.6)
XYZxyz(6.8471, 6.2688, 19.9140)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D457C #7C642D
analogous
#2D6C7C #2D457C #3C2D7C
triadic
#2D457C #7C2D45 #457C2D
tetradic
#2D457C #7C2D6C #7C642D #2D7C3C
square
#2D457C #7C2D6C #7C642D #2D7C3C
split-complementary
#2D457C #7C3C2D #6C7C2D
monochromatic
#0C1322 #1D2C4F #2D457C #3D5EA9 #5F7EC5

Accessibility & contrast

On white

9.32
#2D457C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D457C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D457C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D457C#FFFFFF#000000##FFFFFF
##2D457C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#21437B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d457c;
/* rgb */ color: rgb(45, 69, 124);
/* oklch */ color: oklch(40.0% 0.098 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e78a2',
    500: '#2d457c',
    950: '#000000',
  },
}
SCSS
$custom: #2d457c;
$custom-light: #6e78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d457c",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 124
  },
  "hsl": {
    "h": 221.772,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.09751,
    "h": 264.6
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#2D457C
secondary
#AB925A
accent
#AE51D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D457C

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

Preview Lab → · Contrast checker → · Palette generator →

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