#2D4290#2D4290

#2D4290 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.131 H 268.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2D4290
RGBrgb(45, 66, 144)
HSLhsl(227, 52%, 37%)
HSVhsv(227, 69%, 56%)
CMYKcmyk(68.7%, 54.2%, 0%, 43.5%)
CIE-LABlab(30.56, 19.00, -45.69)
CIE-LCHlch(30.56, 49.48, 292.58°)
OKLaboklab(40.85% -0.0031 -0.1313)
OKLCHoklch(40.85% 0.131 268.6)
XYZxyz(8.0627, 6.4672, 27.2035)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4290 #907B2D
analogous
#2D7490 #2D4290 #4A2D90
triadic
#2D4290 #902D42 #42902D
tetradic
#2D4290 #902D74 #907B2D #2D904A
square
#2D4290 #902D74 #907B2D #2D904A
split-complementary
#2D4290 #904A2D #74902D
monochromatic
#101733 #1E2D61 #2D4290 #3C57BF #687ED0

Accessibility & contrast

On white

9.16
#2D4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2D4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4290
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4290#FFFFFF#000000##FFFFFF
##2D42901.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4D93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4290;
/* rgb */ color: rgb(45, 66, 144);
/* oklch */ color: oklch(40.8% 0.131 268.6);
Tailwind
colors: {
  custom: {
    50: '#7276b1',
    500: '#2d4290',
    950: '#000000',
  },
}
SCSS
$custom: #2d4290;
$custom-light: #7276b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4290",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 227.273,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.13131,
    "h": 268.6
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#2D4290
secondary
#B6A562
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4290

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

Preview Lab → · Contrast checker → · Palette generator →

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