#2D4190#2D4190

#2D4190 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.133 H 269.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2D4190
RGBrgb(45, 65, 144)
HSLhsl(228, 52%, 37%)
HSVhsv(228, 69%, 56%)
CMYKcmyk(68.7%, 54.9%, 0%, 43.5%)
CIE-LABlab(30.28, 19.68, -46.14)
CIE-LCHlch(30.28, 50.16, 293.09°)
OKLaboklab(40.63% -0.0022 -0.1326)
OKLCHoklch(40.63% 0.133 269)
XYZxyz(8.0048, 6.3513, 27.1842)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4190 #907C2D
analogous
#2D7390 #2D4190 #4B2D90
triadic
#2D4190 #902D41 #41902D
tetradic
#2D4190 #902D73 #907C2D #2D904B
square
#2D4190 #902D73 #907C2D #2D904B
split-complementary
#2D4190 #904B2D #73902D
monochromatic
#101733 #1E2C61 #2D4190 #3C56BF #687DD0

Accessibility & contrast

On white

9.25
#2D4190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2D4190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4190
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4190#FFFFFF#000000##FFFFFF
##2D41901.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084C93
Deuteranopia (green-blind)
#00438E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4190;
/* rgb */ color: rgb(45, 65, 144);
/* oklch */ color: oklch(40.6% 0.133 269.0);
Tailwind
colors: {
  custom: {
    50: '#7275b1',
    500: '#2d4190',
    950: '#000000',
  },
}
SCSS
$custom: #2d4190;
$custom-light: #7275b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4190",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 144
  },
  "hsl": {
    "h": 227.879,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.13263,
    "h": 269
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4190

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

Preview Lab → · Contrast checker → · Palette generator →

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