#2D3E9C#2D3E9C

#2D3E9C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.154 H 270.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3E9C
RGBrgb(45, 62, 156)
HSLhsl(231, 55%, 39%)
HSVhsv(231, 71%, 61%)
CMYKcmyk(71.2%, 60.3%, 0%, 38.8%)
CIE-LABlab(30.41, 26.20, -53.26)
CIE-LCHlch(30.41, 59.36, 296.19°)
OKLaboklab(41.02% 0.0008 -0.1536)
OKLCHoklch(41.02% 0.154 270.3)
XYZxyz(8.8035, 6.4026, 32.2179)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E9C #9C8B2D
analogous
#2D769C #2D3E9C #542D9C
triadic
#2D3E9C #9C2D3E #3E9C2D
tetradic
#2D3E9C #9C2D76 #9C8B2D #2D9C54
square
#2D3E9C #9C2D76 #9C8B2D #2D9C54
split-complementary
#2D3E9C #9C542D #769C2D
monochromatic
#12183D #1F2B6D #2D3E9C #3F54C8 #6E7ED5

Accessibility & contrast

On white

9.21
#2D3E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D3E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E9C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E9C#FFFFFF#000000##FFFFFF
##2D3E9C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d3e9c;
/* rgb */ color: rgb(45, 62, 156);
/* oklch */ color: oklch(41.0% 0.154 270.3);
Tailwind
colors: {
  custom: {
    50: '#7573ba',
    500: '#2d3e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e9c;
$custom-light: #7573ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e9c",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 156
  },
  "hsl": {
    "h": 230.811,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41022,
    "c": 0.1536,
    "h": 270.3
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#2D3E9C
secondary
#BCB068
accent
#C849DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D3E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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