#2D3F92#2D3F92

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

Color values

HEX#2D3F92
RGBrgb(45, 63, 146)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 69%, 57%)
CMYKcmyk(69.2%, 56.8%, 0%, 42.7%)
CIE-LABlab(29.88, 21.78, -48.02)
CIE-LCHlch(29.88, 52.73, 294.40°)
OKLaboklab(40.38% -0.0003 -0.1382)
OKLCHoklch(40.38% 0.138 269.9)
XYZxyz(8.0462, 6.1875, 27.9588)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F92 #92802D
analogous
#2D7292 #2D3F92 #4E2D92
triadic
#2D3F92 #922D3F #3F922D
tetradic
#2D3F92 #922D72 #92802D #2D924E
square
#2D3F92 #922D72 #92802D #2D924E
split-complementary
#2D3F92 #924E2D #72922D
monochromatic
#101734 #1F2B63 #2D3F92 #3B53C1 #697BD1

Accessibility & contrast

On white

9.39
#2D3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3F92
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F92#FFFFFF#000000##FFFFFF
##2D3F921.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3f92;
/* rgb */ color: rgb(45, 63, 146);
/* oklch */ color: oklch(40.4% 0.138 269.9);
Tailwind
colors: {
  custom: {
    50: '#7373b3',
    500: '#2d3f92',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f92;
$custom-light: #7373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f92",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 229.307,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.13816,
    "h": 269.9
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#2D3F92
secondary
#B7A863
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2D3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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