#2D488A#2D488A

#2D488A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.115 H 265.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2D488A
RGBrgb(45, 72, 138)
HSLhsl(223, 51%, 36%)
HSVhsv(223, 67%, 54%)
CMYKcmyk(67.4%, 47.8%, 0%, 45.9%)
CIE-LABlab(31.87, 12.66, -39.90)
CIE-LCHlch(31.87, 41.86, 287.61°)
OKLaboklab(41.71% -0.0098 -0.1141)
OKLCHoklch(41.71% 0.115 265.1)
XYZxyz(7.9854, 7.0268, 24.9753)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D488A #8A6F2D
analogous
#2D768A #2D488A #402D8A
triadic
#2D488A #8A2D48 #488A2D
tetradic
#2D488A #8A2D76 #8A6F2D #2D8A40
square
#2D488A #8A2D76 #8A6F2D #2D8A40
split-complementary
#2D488A #8A402D #768A2D
monochromatic
#0F182E #1E305C #2D488A #3C60B8 #6583CD

Accessibility & contrast

On white

8.73
#2D488A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2D488A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D488A
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D488A#FFFFFF#000000##FFFFFF
##2D488A1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8C
Deuteranopia (green-blind)
#154789
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d488a;
/* rgb */ color: rgb(45, 72, 138);
/* oklch */ color: oklch(41.7% 0.115 265.1);
Tailwind
colors: {
  custom: {
    50: '#717aac',
    500: '#2d488a',
    950: '#000000',
  },
}
SCSS
$custom: #2d488a;
$custom-light: #717aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d488a",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 222.581,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41705,
    "c": 0.11456,
    "h": 265.1
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#2D488A
secondary
#B39B60
accent
#B14DDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D488A

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

Preview Lab → · Contrast checker → · Palette generator →

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