#2D456F#2D456F

#2D456F is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.2% C 0.078 H 261.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2D456F
RGBrgb(45, 69, 111)
HSLhsl(218, 42%, 31%)
HSVhsv(218, 59%, 44%)
CMYKcmyk(59.5%, 37.8%, 0%, 56.5%)
CIE-LABlab(29.31, 4.63, -27.12)
CIE-LCHlch(29.31, 27.51, 279.69°)
OKLaboklab(39.2% -0.0122 -0.0767)
OKLCHoklch(39.2% 0.078 261)
XYZxyz(6.0786, 5.9613, 15.8662)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D456F #6F572D
analogous
#2D666F #2D456F #362D6F
triadic
#2D456F #6F2D45 #456F2D
tetradic
#2D456F #6F2D66 #6F572D #2D6F36
square
#2D456F #6F2D66 #6F572D #2D6F36
split-complementary
#2D456F #6F362D #666F2D
monochromatic
#0A0F18 #1B2A43 #2D456F #3F609B #5A7EBC

Accessibility & contrast

On white

9.58
#2D456F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D456F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D456F#FFFFFF#000000##FFFFFF
##2D456F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344871
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#004E54
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d456f;
/* rgb */ color: rgb(45, 69, 111);
/* oklch */ color: oklch(39.2% 0.078 261.0);
Tailwind
colors: {
  custom: {
    50: '#6c7898',
    500: '#2d456f',
    950: '#000000',
  },
}
SCSS
$custom: #2d456f;
$custom-light: #6c7898;
$custom-dark: #000000;
JSON
{
  "hex": "#2d456f",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 111
  },
  "hsl": {
    "h": 218.182,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39202,
    "c": 0.07767,
    "h": 261
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#2D456F
secondary
#A18657
accent
#A556D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D456F

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

Preview Lab → · Contrast checker → · Palette generator →

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