#2D4895#2D4895

#2D4895 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.131 H 266.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2D4895
RGBrgb(45, 72, 149)
HSLhsl(224, 54%, 38%)
HSVhsv(224, 70%, 58%)
CMYKcmyk(69.8%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.62, 16.83, -45.42)
CIE-LCHlch(32.62, 48.44, 290.34°)
OKLaboklab(42.52% -0.0083 -0.1304)
OKLCHoklch(42.52% 0.131 266.4)
XYZxyz(8.8225, 7.3617, 29.3839)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4895 #957A2D
analogous
#2D7C95 #2D4895 #462D95
triadic
#2D4895 #952D48 #48952D
tetradic
#2D4895 #952D7C #957A2D #2D9546
square
#2D4895 #952D7C #957A2D #2D9546
split-complementary
#2D4895 #95462D #7C952D
monochromatic
#111B37 #1F3166 #2D4895 #3B5FC4 #6A85D2

Accessibility & contrast

On white

8.49
#2D4895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2D4895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4895
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4895#FFFFFF#000000##FFFFFF
##2D48951.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d4895;
/* rgb */ color: rgb(45, 72, 149);
/* oklch */ color: oklch(42.5% 0.131 266.4);
Tailwind
colors: {
  custom: {
    50: '#737ab5',
    500: '#2d4895',
    950: '#000000',
  },
}
SCSS
$custom: #2d4895;
$custom-light: #737ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4895",
  "rgb": {
    "r": 45,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 224.423,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42516,
    "c": 0.13066,
    "h": 266.4
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#2D4895
secondary
#B9A365
accent
#B74BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2D4895

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

Preview Lab → · Contrast checker → · Palette generator →

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