#2D488E#2D488E

#2D488E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.120 H 265.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2D488E
RGBrgb(45, 72, 142)
HSLhsl(223, 52%, 37%)
HSVhsv(223, 68%, 56%)
CMYKcmyk(68.3%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.13, 14.18, -41.92)
CIE-LCHlch(32.13, 44.26, 288.68°)
OKLaboklab(41.99% -0.0092 -0.1201)
OKLCHoklch(41.99% 0.12 265.6)
XYZxyz(8.2803, 7.1448, 26.5287)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D488E #8E732D
analogous
#2D798E #2D488E #432D8E
triadic
#2D488E #8E2D48 #488E2D
tetradic
#2D488E #8E2D79 #8E732D #2D8E43
square
#2D488E #8E2D79 #8E732D #2D8E43
split-complementary
#2D488E #8E432D #798E2D
monochromatic
#101931 #1E3060 #2D488E #3C60BC #6784CF

Accessibility & contrast

On white

8.64
#2D488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2D488E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D488E
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D488E#FFFFFF#000000##FFFFFF
##2D488E1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#0C478D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d488e;
/* rgb */ color: rgb(45, 72, 142);
/* oklch */ color: oklch(42.0% 0.120 265.6);
Tailwind
colors: {
  custom: {
    50: '#717aaf',
    500: '#2d488e',
    950: '#000000',
  },
}
SCSS
$custom: #2d488e;
$custom-light: #717aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d488e",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 223.299,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.12045,
    "h": 265.6
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#2D488E
secondary
#B59E61
accent
#B44CDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D488E

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

Preview Lab → · Contrast checker → · Palette generator →

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