#2D4093#2D4093

#2D4093 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.138 H 269.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#2D4093
RGBrgb(45, 64, 147)
HSLhsl(229, 53%, 38%)
HSVhsv(229, 69%, 58%)
CMYKcmyk(69.4%, 56.5%, 0%, 42.4%)
CIE-LABlab(30.23, 21.48, -48.06)
CIE-LCHlch(30.23, 52.64, 294.08°)
OKLaboklab(40.67% -0.0011 -0.1383)
OKLCHoklch(40.67% 0.138 269.5)
XYZxyz(8.1802, 6.3305, 28.3889)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4093 #93802D
analogous
#2D7393 #2D4093 #4D2D93
triadic
#2D4093 #932D40 #40932D
tetradic
#2D4093 #932D73 #93802D #2D934D
square
#2D4093 #932D73 #93802D #2D934D
split-complementary
#2D4093 #934D2D #73932D
monochromatic
#101735 #1F2C64 #2D4093 #3B54C2 #697DD1

Accessibility & contrast

On white

9.27
#2D4093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4093
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4093#FFFFFF#000000##FFFFFF
##2D40931.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4093;
/* rgb */ color: rgb(45, 64, 147);
/* oklch */ color: oklch(40.7% 0.138 269.5);
Tailwind
colors: {
  custom: {
    50: '#7374b3',
    500: '#2d4093',
    950: '#000000',
  },
}
SCSS
$custom: #2d4093;
$custom-light: #7374b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4093",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 228.824,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.13828,
    "h": 269.5
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4093

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

Preview Lab → · Contrast checker → · Palette generator →

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