#2D4063#2D4063

#2D4063 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.065 H 262.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#2D4063
RGBrgb(45, 64, 99)
HSLhsl(219, 38%, 28%)
HSVhsv(219, 55%, 39%)
CMYKcmyk(54.5%, 35.4%, 0%, 61.2%)
CIE-LABlab(27.09, 3.68, -22.96)
CIE-LCHlch(27.09, 23.26, 279.11°)
OKLaboklab(37.26% -0.0091 -0.0646)
OKLCHoklch(37.26% 0.065 262)
XYZxyz(5.1670, 5.1252, 12.5189)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4063 #63502D
analogous
#2D5B63 #2D4063 #352D63
triadic
#2D4063 #632D40 #40632D
tetradic
#2D4063 #632D5B #63502D #2D6335
square
#2D4063 #632D5B #63502D #2D6335
split-complementary
#2D4063 #63352D #5B632D
monochromatic
#0A0E15 #1A2539 #2D4063 #405B8D #5878B3

Accessibility & contrast

On white

10.37
#2D4063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D4063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4063
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4063#FFFFFF#000000##FFFFFF
##2D40631.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324364
Deuteranopia (green-blind)
#2C3E62
Tritanopia (blue-blind)
#13484D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4063;
/* rgb */ color: rgb(45, 64, 99);
/* oklch */ color: oklch(37.3% 0.065 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a748f',
    500: '#2d4063',
    950: '#000000',
  },
}
SCSS
$custom: #2d4063;
$custom-light: #6a748f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4063",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 99
  },
  "hsl": {
    "h": 218.889,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37256,
    "c": 0.06529,
    "h": 262
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#2D4063
secondary
#957F57
accent
#A55ACD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2D4063

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

Preview Lab → · Contrast checker → · Palette generator →

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