#2D4062#2D4062

#2D4062 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.2% C 0.064 H 261.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2D4062
RGBrgb(45, 64, 98)
HSLhsl(218, 37%, 28%)
HSVhsv(218, 54%, 38%)
CMYKcmyk(54.1%, 34.7%, 0%, 61.6%)
CIE-LABlab(27.04, 3.33, -22.40)
CIE-LCHlch(27.04, 22.65, 278.46°)
OKLaboklab(37.2% -0.0094 -0.063)
OKLCHoklch(37.2% 0.064 261.5)
XYZxyz(5.1195, 5.1062, 12.2687)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4062 #624F2D
analogous
#2D5A62 #2D4062 #342D62
triadic
#2D4062 #622D40 #40622D
tetradic
#2D4062 #622D5A #624F2D #2D6234
square
#2D4062 #622D5A #624F2D #2D6234
split-complementary
#2D4062 #62342D #5A622D
monochromatic
#0A0E15 #1A2538 #2D4062 #405B8C #5778B2

Accessibility & contrast

On white

10.39
#2D4062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D4062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4062
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4062#FFFFFF#000000##FFFFFF
##2D40621.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334363
Deuteranopia (green-blind)
#2D3E61
Tritanopia (blue-blind)
#14474C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d4062;
/* rgb */ color: rgb(45, 64, 98);
/* oklch */ color: oklch(37.2% 0.064 261.5);
Tailwind
colors: {
  custom: {
    50: '#6a748f',
    500: '#2d4062',
    950: '#000000',
  },
}
SCSS
$custom: #2d4062;
$custom-light: #6a748f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4062",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 218.491,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.06373,
    "h": 261.5
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#2D4062
secondary
#947E57
accent
#A45BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2D4062

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

Preview Lab → · Contrast checker → · Palette generator →

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