#2D3D93#2D3D93

#2D3D93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.142 H 270.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2D3D93
RGBrgb(45, 61, 147)
HSLhsl(231, 53%, 38%)
HSVhsv(231, 69%, 58%)
CMYKcmyk(69.4%, 58.5%, 0%, 42.4%)
CIE-LABlab(29.42, 23.51, -49.38)
CIE-LCHlch(29.42, 54.69, 295.46°)
OKLaboklab(40.06% 0.0016 -0.1422)
OKLCHoklch(40.06% 0.142 270.6)
XYZxyz(8.0156, 6.0012, 28.3340)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D93 #93832D
analogous
#2D7093 #2D3D93 #502D93
triadic
#2D3D93 #932D3D #3D932D
tetradic
#2D3D93 #932D70 #93832D #2D9350
square
#2D3D93 #932D70 #93832D #2D9350
split-complementary
#2D3D93 #93502D #70932D
monochromatic
#101635 #1F2A64 #2D3D93 #3B50C2 #697AD1

Accessibility & contrast

On white

9.54
#2D3D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D3D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D93
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D93#FFFFFF#000000##FFFFFF
##2D3D931.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3d93;
/* rgb */ color: rgb(45, 61, 147);
/* oklch */ color: oklch(40.1% 0.142 270.6);
Tailwind
colors: {
  custom: {
    50: '#7372b3',
    500: '#2d3d93',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d93;
$custom-light: #7372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d93",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 230.588,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.14222,
    "h": 270.6
  },
  "luminance": 0.06002
}

Semantic roles & 50–950 ramp

primary
#2D3D93
secondary
#B8AB64
accent
#C64BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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