#2D486E#2D486E

#2D486E is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.9% C 0.073 H 257.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2D486E
RGBrgb(45, 72, 110)
HSLhsl(215, 42%, 30%)
HSVhsv(215, 59%, 43%)
CMYKcmyk(59.1%, 34.5%, 0%, 56.9%)
CIE-LABlab(30.20, 2.27, -25.09)
CIE-LCHlch(30.20, 25.19, 275.18°)
OKLaboklab(39.87% -0.0162 -0.0708)
OKLCHoklch(39.87% 0.073 257.1)
XYZxyz(6.2130, 6.3179, 15.6409)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D486E #6E532D
analogous
#2D686E #2D486E #332D6E
triadic
#2D486E #6E2D48 #486E2D
tetradic
#2D486E #6E2D68 #6E532D #2D6E33
square
#2D486E #6E2D68 #6E532D #2D6E33
split-complementary
#2D486E #6E332D #686E2D
monochromatic
#090F17 #1B2C43 #2D486E #3F6499 #5A82BB

Accessibility & contrast

On white

9.28
#2D486E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D486E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D486E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D486E#FFFFFF#000000##FFFFFF
##2D486E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#30446D
Tritanopia (blue-blind)
#005156
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d486e;
/* rgb */ color: rgb(45, 72, 110);
/* oklch */ color: oklch(39.9% 0.073 257.1);
Tailwind
colors: {
  custom: {
    50: '#6b7a98',
    500: '#2d486e',
    950: '#000000',
  },
}
SCSS
$custom: #2d486e;
$custom-light: #6b7a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2d486e",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 110
  },
  "hsl": {
    "h": 215.077,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.07261,
    "h": 257.1
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#2D486E
secondary
#A08257
accent
#9E56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2D486E

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

Preview Lab → · Contrast checker → · Palette generator →

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