#2D3C95#2D3C95

#2D3C95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.146 H 271.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2D3C95
RGBrgb(45, 60, 149)
HSLhsl(231, 54%, 38%)
HSVhsv(231, 70%, 58%)
CMYKcmyk(69.8%, 59.7%, 0%, 41.6%)
CIE-LABlab(29.31, 24.93, -50.78)
CIE-LCHlch(29.31, 56.57, 296.14°)
OKLaboklab(40.03% 0.0025 -0.1463)
OKLCHoklch(40.03% 0.146 271)
XYZxyz(8.1210, 5.9588, 29.1501)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C95 #95862D
analogous
#2D7095 #2D3C95 #522D95
triadic
#2D3C95 #952D3C #3C952D
tetradic
#2D3C95 #952D70 #95862D #2D9552
square
#2D3C95 #952D70 #95862D #2D9552
split-complementary
#2D3C95 #95522D #70952D
monochromatic
#111637 #1F2966 #2D3C95 #3B4FC4 #6A79D2

Accessibility & contrast

On white

9.58
#2D3C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3C95
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C95#FFFFFF#000000##FFFFFF
##2D3C951.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3c95;
/* rgb */ color: rgb(45, 60, 149);
/* oklch */ color: oklch(40.0% 0.146 271.0);
Tailwind
colors: {
  custom: {
    50: '#7471b5',
    500: '#2d3c95',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c95;
$custom-light: #7471b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c95",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 231.346,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.14636,
    "h": 271
  },
  "luminance": 0.0596
}

Semantic roles & 50–950 ramp

primary
#2D3C95
secondary
#B9AD65
accent
#C84BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3C95

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

Preview Lab → · Contrast checker → · Palette generator →

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