#2D4194#2D4194

#2D4194 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.138 H 269.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2D4194
RGBrgb(45, 65, 148)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 70%, 58%)
CMYKcmyk(69.6%, 56.1%, 0%, 42%)
CIE-LABlab(30.58, 21.18, -48.10)
CIE-LCHlch(30.58, 52.56, 293.77°)
OKLaboklab(40.96% -0.0019 -0.1384)
OKLCHoklch(40.96% 0.138 269.2)
XYZxyz(8.3160, 6.4758, 28.8229)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4194 #94802D
analogous
#2D7494 #2D4194 #4D2D94
triadic
#2D4194 #942D41 #41942D
tetradic
#2D4194 #942D74 #94802D #2D944D
square
#2D4194 #942D74 #94802D #2D944D
split-complementary
#2D4194 #944D2D #74942D
monochromatic
#101836 #1F2C65 #2D4194 #3B56C3 #6A7ED2

Accessibility & contrast

On white

9.15
#2D4194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D4194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4194
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4194#FFFFFF#000000##FFFFFF
##2D41941.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d4194;
/* rgb */ color: rgb(45, 65, 148);
/* oklch */ color: oklch(41.0% 0.138 269.2);
Tailwind
colors: {
  custom: {
    50: '#7375b4',
    500: '#2d4194',
    950: '#000000',
  },
}
SCSS
$custom: #2d4194;
$custom-light: #7375b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4194",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 148
  },
  "hsl": {
    "h": 228.35,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40955,
    "c": 0.1384,
    "h": 269.2
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#2D4194
secondary
#B8A864
accent
#C04BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4194

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

Preview Lab → · Contrast checker → · Palette generator →

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