#2D3E93#2D3E93

#2D3E93 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.141 H 270.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2D3E93
RGBrgb(45, 62, 147)
HSLhsl(230, 53%, 38%)
HSVhsv(230, 69%, 58%)
CMYKcmyk(69.4%, 57.8%, 0%, 42.4%)
CIE-LABlab(29.69, 22.83, -48.95)
CIE-LCHlch(29.69, 54.01, 295.01°)
OKLaboklab(40.26% 0.0007 -0.1409)
OKLCHoklch(40.26% 0.141 270.3)
XYZxyz(8.0695, 6.1090, 28.3520)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E93 #93822D
analogous
#2D7193 #2D3E93 #4F2D93
triadic
#2D3E93 #932D3E #3E932D
tetradic
#2D3E93 #932D71 #93822D #2D934F
square
#2D3E93 #932D71 #93822D #2D934F
split-complementary
#2D3E93 #934F2D #71932D
monochromatic
#101635 #1F2A64 #2D3E93 #3B52C2 #697BD1

Accessibility & contrast

On white

9.45
#2D3E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D3E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E93
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E93#FFFFFF#000000##FFFFFF
##2D3E931.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d3e93;
/* rgb */ color: rgb(45, 62, 147);
/* oklch */ color: oklch(40.3% 0.141 270.3);
Tailwind
colors: {
  custom: {
    50: '#7373b3',
    500: '#2d3e93',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e93;
$custom-light: #7373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e93",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 230,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.14091,
    "h": 270.3
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#2D3E93
secondary
#B8AA64
accent
#C44BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3E93

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

Preview Lab → · Contrast checker → · Palette generator →

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