#2D3F93#2D3F93

#2D3F93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.140 H 269.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#2D3F93
RGBrgb(45, 63, 147)
HSLhsl(229, 53%, 38%)
HSVhsv(229, 69%, 58%)
CMYKcmyk(69.4%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.96, 22.16, -48.50)
CIE-LCHlch(29.96, 53.33, 294.55°)
OKLaboklab(40.46% -0.0002 -0.1396)
OKLCHoklch(40.46% 0.14 269.9)
XYZxyz(8.1244, 6.2187, 28.3703)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F93 #93812D
analogous
#2D7293 #2D3F93 #4E2D93
triadic
#2D3F93 #932D3F #3F932D
tetradic
#2D3F93 #932D72 #93812D #2D934E
square
#2D3F93 #932D72 #93812D #2D934E
split-complementary
#2D3F93 #934E2D #72932D
monochromatic
#101735 #1F2B64 #2D3F93 #3B53C2 #697CD1

Accessibility & contrast

On white

9.36
#2D3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D3F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F93
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F93#FFFFFF#000000##FFFFFF
##2D3F931.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3f93;
/* rgb */ color: rgb(45, 63, 147);
/* oklch */ color: oklch(40.5% 0.140 269.9);
Tailwind
colors: {
  custom: {
    50: '#7373b3',
    500: '#2d3f93',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f93;
$custom-light: #7373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f93",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 229.412,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40462,
    "c": 0.1396,
    "h": 269.9
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3F93

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

Preview Lab → · Contrast checker → · Palette generator →

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