#2D4490#2D4490

#2D4490 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.129 H 267.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2D4490
RGBrgb(45, 68, 144)
HSLhsl(226, 52%, 37%)
HSVhsv(226, 69%, 56%)
CMYKcmyk(68.7%, 52.8%, 0%, 43.5%)
CIE-LABlab(31.13, 17.64, -44.78)
CIE-LCHlch(31.13, 48.13, 291.50°)
OKLaboklab(41.27% -0.005 -0.1286)
OKLCHoklch(41.27% 0.129 267.8)
XYZxyz(8.1816, 6.7050, 27.2432)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4490 #90792D
analogous
#2D7590 #2D4490 #482D90
triadic
#2D4490 #902D44 #44902D
tetradic
#2D4490 #902D75 #90792D #2D9048
square
#2D4490 #902D75 #90792D #2D9048
split-complementary
#2D4490 #90482D #75902D
monochromatic
#101833 #1E2E61 #2D4490 #3C5ABF #6880D0

Accessibility & contrast

On white

8.97
#2D4490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2D4490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4490
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4490#FFFFFF#000000##FFFFFF
##2D44901.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154E93
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4490;
/* rgb */ color: rgb(45, 68, 144);
/* oklch */ color: oklch(41.3% 0.129 267.8);
Tailwind
colors: {
  custom: {
    50: '#7277b1',
    500: '#2d4490',
    950: '#000000',
  },
}
SCSS
$custom: #2d4490;
$custom-light: #7277b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4490",
  "rgb": {
    "r": 45,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 226.061,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.12866,
    "h": 267.8
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#2D4490
secondary
#B6A362
accent
#BA4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4490

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

Preview Lab → · Contrast checker → · Palette generator →

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