#2D456E#2D456E

#2D456E is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.076 H 260.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2D456E
RGBrgb(45, 69, 110)
HSLhsl(218, 42%, 30%)
HSVhsv(218, 59%, 43%)
CMYKcmyk(59.1%, 37.3%, 0%, 56.9%)
CIE-LABlab(29.26, 4.27, -26.57)
CIE-LCHlch(29.26, 26.91, 279.12°)
OKLaboklab(39.14% -0.0125 -0.0751)
OKLCHoklch(39.14% 0.076 260.6)
XYZxyz(6.0238, 5.9394, 15.5778)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D456E #6E562D
analogous
#2D656E #2D456E #352D6E
triadic
#2D456E #6E2D45 #456E2D
tetradic
#2D456E #6E2D65 #6E562D #2D6E35
square
#2D456E #6E2D65 #6E562D #2D6E35
split-complementary
#2D456E #6E352D #656E2D
monochromatic
#090F17 #1B2A43 #2D456E #3F6099 #5A7EBB

Accessibility & contrast

On white

9.60
#2D456E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D456E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D456E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D456E#FFFFFF#000000##FFFFFF
##2D456E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#2C426D
Tritanopia (blue-blind)
#024E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d456e;
/* rgb */ color: rgb(45, 69, 110);
/* oklch */ color: oklch(39.1% 0.076 260.6);
Tailwind
colors: {
  custom: {
    50: '#6b7898',
    500: '#2d456e',
    950: '#000000',
  },
}
SCSS
$custom: #2d456e;
$custom-light: #6b7898;
$custom-dark: #000000;
JSON
{
  "hex": "#2d456e",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 110
  },
  "hsl": {
    "h": 217.846,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.07615,
    "h": 260.6
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#2D456E
secondary
#A08557
accent
#A456D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D456E

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

Preview Lab → · Contrast checker → · Palette generator →

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