#2D489F#2D489F

#2D489F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.145 H 267.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2D489F
RGBrgb(45, 72, 159)
HSLhsl(226, 56%, 40%)
HSVhsv(226, 72%, 62%)
CMYKcmyk(71.7%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.34, 20.63, -50.31)
CIE-LCHlch(33.34, 54.38, 292.30°)
OKLaboklab(43.29% -0.0073 -0.1448)
OKLCHoklch(43.29% 0.145 267.1)
XYZxyz(9.6554, 7.6948, 33.7706)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D489F #9F842D
analogous
#2D819F #2D489F #4B2D9F
triadic
#2D489F #9F2D48 #489F2D
tetradic
#2D489F #9F2D81 #9F842D #2D9F4B
square
#2D489F #9F2D81 #9F842D #2D9F4B
split-complementary
#2D489F #9F4B2D #819F2D
monochromatic
#121D40 #20326F #2D489F #4061C9 #7088D6

Accessibility & contrast

On white

8.27
#2D489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D489F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D489F#FFFFFF#000000##FFFFFF
##2D489F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d489f;
/* rgb */ color: rgb(45, 72, 159);
/* oklch */ color: oklch(43.3% 0.145 267.1);
Tailwind
colors: {
  custom: {
    50: '#757abc',
    500: '#2d489f',
    950: '#000000',
  },
}
SCSS
$custom: #2d489f;
$custom-light: #757abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d489f",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 225.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.14498,
    "h": 267.1
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#2D489F
secondary
#BEAA6A
accent
#BC49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D489F

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

Preview Lab → · Contrast checker → · Palette generator →

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