#2D4294#2D4294

#2D4294 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.137 H 268.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2D4294
RGBrgb(45, 66, 148)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 70%, 58%)
CMYKcmyk(69.6%, 55.4%, 0%, 42%)
CIE-LABlab(30.86, 20.51, -47.66)
CIE-LCHlch(30.86, 51.88, 293.28°)
OKLaboklab(41.16% -0.0028 -0.1371)
OKLCHoklch(41.16% 0.137 268.8)
XYZxyz(8.3739, 6.5916, 28.8422)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4294 #947F2D
analogous
#2D7594 #2D4294 #4B2D94
triadic
#2D4294 #942D42 #42942D
tetradic
#2D4294 #942D75 #947F2D #2D944B
square
#2D4294 #942D75 #947F2D #2D944B
split-complementary
#2D4294 #944B2D #75942D
monochromatic
#101836 #1F2D65 #2D4294 #3B57C3 #6A7FD2

Accessibility & contrast

On white

9.06
#2D4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4294
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4294#FFFFFF#000000##FFFFFF
##2D42941.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E97
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4294;
/* rgb */ color: rgb(45, 66, 148);
/* oklch */ color: oklch(41.2% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#7376b4',
    500: '#2d4294',
    950: '#000000',
  },
}
SCSS
$custom: #2d4294;
$custom-light: #7376b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4294",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 227.767,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.13709,
    "h": 268.8
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#2D4294
secondary
#B8A764
accent
#BF4BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4294

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

Preview Lab → · Contrast checker → · Palette generator →

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