#2D489A#2D489A

#2D489A is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.138 H 266.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2D489A
RGBrgb(45, 72, 154)
HSLhsl(225, 55%, 39%)
HSVhsv(225, 71%, 60%)
CMYKcmyk(70.8%, 53.2%, 0%, 39.6%)
CIE-LABlab(32.97, 18.73, -47.88)
CIE-LCHlch(32.97, 51.42, 291.37°)
OKLaboklab(42.9% -0.0078 -0.1376)
OKLCHoklch(42.9% 0.138 266.8)
XYZxyz(9.2303, 7.5248, 31.5316)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D489A #9A7F2D
analogous
#2D7F9A #2D489A #492D9A
triadic
#2D489A #9A2D48 #489A2D
tetradic
#2D489A #9A2D7F #9A7F2D #2D9A49
square
#2D489A #9A2D7F #9A7F2D #2D9A49
split-complementary
#2D489A #9A492D #7F9A2D
monochromatic
#111C3B #1F326B #2D489A #3E60C7 #6D87D4

Accessibility & contrast

On white

8.38
#2D489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D489A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D489A#FFFFFF#000000##FFFFFF
##2D489A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12539D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d489a;
/* rgb */ color: rgb(45, 72, 154);
/* oklch */ color: oklch(42.9% 0.138 266.8);
Tailwind
colors: {
  custom: {
    50: '#747ab8',
    500: '#2d489a',
    950: '#000000',
  },
}
SCSS
$custom: #2d489a;
$custom-light: #747ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d489a",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 225.138,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.429,
    "c": 0.13786,
    "h": 266.8
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

primary
#2D489A
secondary
#BBA767
accent
#B94ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D489A

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

Preview Lab → · Contrast checker → · Palette generator →

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