#2D489D#2D489D

#2D489D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.142 H 267.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2D489D
RGBrgb(45, 72, 157)
HSLhsl(226, 55%, 40%)
HSVhsv(226, 71%, 62%)
CMYKcmyk(71.3%, 54.1%, 0%, 38.4%)
CIE-LABlab(33.19, 19.87, -49.34)
CIE-LCHlch(33.19, 53.20, 291.94°)
OKLaboklab(43.13% -0.0075 -0.1419)
OKLCHoklch(43.13% 0.142 267)
XYZxyz(9.4832, 7.6260, 32.8639)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D489D #9D822D
analogous
#2D809D #2D489D #4A2D9D
triadic
#2D489D #9D2D48 #489D2D
tetradic
#2D489D #9D2D80 #9D822D #2D9D4A
square
#2D489D #9D2D80 #9D822D #2D9D4A
split-complementary
#2D489D #9D4A2D #809D2D
monochromatic
#121C3E #1F326D #2D489D #3F60C8 #6F88D6

Accessibility & contrast

On white

8.32
#2D489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D489D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D489D#FFFFFF#000000##FFFFFF
##2D489D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A53A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d489d;
/* rgb */ color: rgb(45, 72, 157);
/* oklch */ color: oklch(43.1% 0.142 267.0);
Tailwind
colors: {
  custom: {
    50: '#757abb',
    500: '#2d489d',
    950: '#000000',
  },
}
SCSS
$custom: #2d489d;
$custom-light: #757abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d489d",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 225.536,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43134,
    "c": 0.14214,
    "h": 267
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#2D489D
secondary
#BDA969
accent
#BB49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D489D

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

Preview Lab → · Contrast checker → · Palette generator →

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