#2D4094#2D4094

#2D4094 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.140 H 269.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#2D4094
RGBrgb(45, 64, 148)
HSLhsl(229, 53%, 38%)
HSVhsv(229, 70%, 58%)
CMYKcmyk(69.6%, 56.8%, 0%, 42%)
CIE-LABlab(30.31, 21.86, -48.55)
CIE-LCHlch(30.31, 53.24, 294.24°)
OKLaboklab(40.75% -0.0011 -0.1397)
OKLCHoklch(40.75% 0.14 269.6)
XYZxyz(8.2591, 6.3620, 28.8040)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4094 #94812D
analogous
#2D7394 #2D4094 #4D2D94
triadic
#2D4094 #942D40 #40942D
tetradic
#2D4094 #942D73 #94812D #2D944D
square
#2D4094 #942D73 #94812D #2D944D
split-complementary
#2D4094 #944D2D #73942D
monochromatic
#101736 #1F2C65 #2D4094 #3B54C3 #6A7DD2

Accessibility & contrast

On white

9.24
#2D4094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4094
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4094#FFFFFF#000000##FFFFFF
##2D40941.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4094;
/* rgb */ color: rgb(45, 64, 148);
/* oklch */ color: oklch(40.7% 0.140 269.6);
Tailwind
colors: {
  custom: {
    50: '#7374b4',
    500: '#2d4094',
    950: '#000000',
  },
}
SCSS
$custom: #2d4094;
$custom-light: #7374b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4094",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 148
  },
  "hsl": {
    "h": 228.932,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.13971,
    "h": 269.6
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#2D4094
secondary
#B8A964
accent
#C24BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D4094

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

Preview Lab → · Contrast checker → · Palette generator →

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