#2D489C#2D489C

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

Color values

HEX#2D489C
RGBrgb(45, 72, 156)
HSLhsl(225, 55%, 39%)
HSVhsv(225, 71%, 61%)
CMYKcmyk(71.2%, 53.8%, 0%, 38.8%)
CIE-LABlab(33.12, 19.49, -48.86)
CIE-LCHlch(33.12, 52.60, 291.75°)
OKLaboklab(43.06% -0.0076 -0.1405)
OKLCHoklch(43.06% 0.141 266.9)
XYZxyz(9.3982, 7.5920, 32.4161)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D489C #9C812D
analogous
#2D809C #2D489C #492D9C
triadic
#2D489C #9C2D48 #489C2D
tetradic
#2D489C #9C2D80 #9C812D #2D9C49
square
#2D489C #9C2D80 #9C812D #2D9C49
split-complementary
#2D489C #9C492D #809C2D
monochromatic
#121C3D #1F326D #2D489C #3F60C8 #6E87D5

Accessibility & contrast

On white

8.34
#2D489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D489C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D489C#FFFFFF#000000##FFFFFF
##2D489C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d489c;
/* rgb */ color: rgb(45, 72, 156);
/* oklch */ color: oklch(43.1% 0.141 266.9);
Tailwind
colors: {
  custom: {
    50: '#747aba',
    500: '#2d489c',
    950: '#000000',
  },
}
SCSS
$custom: #2d489c;
$custom-light: #747aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d489c",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 225.405,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.14072,
    "h": 266.9
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#2D489C
secondary
#BCA868
accent
#BA49DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2D489C

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

Preview Lab → · Contrast checker → · Palette generator →

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