#2D3D91#2D3D91

#2D3D91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.139 H 270.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2D3D91
RGBrgb(45, 61, 145)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 69%, 57%)
CMYKcmyk(69%, 57.9%, 0%, 43.1%)
CIE-LABlab(29.26, 22.76, -48.41)
CIE-LCHlch(29.26, 53.50, 295.18°)
OKLaboklab(39.89% 0.0015 -0.1394)
OKLCHoklch(39.89% 0.139 270.6)
XYZxyz(7.8600, 5.9390, 27.5147)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D91 #91812D
analogous
#2D6F91 #2D3D91 #4F2D91
triadic
#2D3D91 #912D3D #3D912D
tetradic
#2D3D91 #912D6F #91812D #2D914F
square
#2D3D91 #912D6F #91812D #2D914F
split-complementary
#2D3D91 #914F2D #6F912D
monochromatic
#101634 #1F2962 #2D3D91 #3B51C0 #6879D0

Accessibility & contrast

On white

9.60
#2D3D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D3D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D91
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D91#FFFFFF#000000##FFFFFF
##2D3D911.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3d91;
/* rgb */ color: rgb(45, 61, 145);
/* oklch */ color: oklch(39.9% 0.139 270.6);
Tailwind
colors: {
  custom: {
    50: '#7372b2',
    500: '#2d3d91',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d91;
$custom-light: #7372b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d91",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 230.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.13937,
    "h": 270.6
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#2D3D91
secondary
#B7A963
accent
#C54CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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