#2D4A90#2D4A90

#2D4A90 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.121 H 264.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2D4A90
RGBrgb(45, 74, 144)
HSLhsl(222, 52%, 37%)
HSVhsv(222, 69%, 56%)
CMYKcmyk(68.7%, 48.6%, 0%, 43.5%)
CIE-LABlab(32.85, 13.59, -42.00)
CIE-LCHlch(32.85, 44.14, 287.93°)
OKLaboklab(42.58% -0.0109 -0.1203)
OKLCHoklch(42.58% 0.121 264.8)
XYZxyz(8.5633, 7.4682, 27.3704)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A90 #90732D
analogous
#2D7C90 #2D4A90 #412D90
triadic
#2D4A90 #902D4A #4A902D
tetradic
#2D4A90 #902D7C #90732D #2D9041
square
#2D4A90 #902D7C #90732D #2D9041
split-complementary
#2D4A90 #90412D #7C902D
monochromatic
#101A33 #1E3261 #2D4A90 #3C62BF #6886D0

Accessibility & contrast

On white

8.42
#2D4A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D4A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A90
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A90#FFFFFF#000000##FFFFFF
##2D4A901.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265293
Deuteranopia (green-blind)
#10498F
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4a90;
/* rgb */ color: rgb(45, 74, 144);
/* oklch */ color: oklch(42.6% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#727cb1',
    500: '#2d4a90',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a90;
$custom-light: #727cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a90",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 222.424,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.12078,
    "h": 264.8
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#2D4A90
secondary
#B69E62
accent
#B24CDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4A90

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

Preview Lab → · Contrast checker → · Palette generator →

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