#2D489E#2D489E

#2D489E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.2% C 0.144 H 267.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2D489E
RGBrgb(45, 72, 158)
HSLhsl(226, 56%, 40%)
HSVhsv(226, 72%, 62%)
CMYKcmyk(71.5%, 54.4%, 0%, 38%)
CIE-LABlab(33.27, 20.25, -49.83)
CIE-LCHlch(33.27, 53.79, 292.12°)
OKLaboklab(43.21% -0.0074 -0.1434)
OKLCHoklch(43.21% 0.144 267)
XYZxyz(9.5690, 7.6603, 33.3154)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D489E #9E832D
analogous
#2D809E #2D489E #4B2D9E
triadic
#2D489E #9E2D48 #489E2D
tetradic
#2D489E #9E2D80 #9E832D #2D9E4B
square
#2D489E #9E2D80 #9E832D #2D9E4B
split-complementary
#2D489E #9E4B2D #809E2D
monochromatic
#121D3F #1F326E #2D489E #4060C9 #6F88D6

Accessibility & contrast

On white

8.29
#2D489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D489E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D489E#FFFFFF#000000##FFFFFF
##2D489E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d489e;
/* rgb */ color: rgb(45, 72, 158);
/* oklch */ color: oklch(43.2% 0.144 267.0);
Tailwind
colors: {
  custom: {
    50: '#757abb',
    500: '#2d489e',
    950: '#000000',
  },
}
SCSS
$custom: #2d489e;
$custom-light: #757abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d489e",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 225.664,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43213,
    "c": 0.14355,
    "h": 267
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D489E

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

Preview Lab → · Contrast checker → · Palette generator →

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