#2D3E8D#2D3E8D

#2D3E8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.132 H 270.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2D3E8D
RGBrgb(45, 62, 141)
HSLhsl(229, 52%, 36%)
HSVhsv(229, 68%, 55%)
CMYKcmyk(68.1%, 56%, 0%, 44.7%)
CIE-LABlab(29.22, 20.58, -46.01)
CIE-LCHlch(29.22, 50.40, 294.10°)
OKLaboklab(39.77% 0.0004 -0.1323)
OKLCHoklch(39.77% 0.132 270.2)
XYZxyz(7.6109, 5.9255, 25.9368)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E8D #8D7C2D
analogous
#2D6E8D #2D3E8D #4C2D8D
triadic
#2D3E8D #8D2D3E #3E8D2D
tetradic
#2D3E8D #8D2D6E #8D7C2D #2D8D4C
square
#2D3E8D #8D2D6E #8D7C2D #2D8D4C
split-complementary
#2D3E8D #8D4C2D #6E8D2D
monochromatic
#0F1530 #1E2A5F #2D3E8D #3C52BB #6679CE

Accessibility & contrast

On white

9.61
#2D3E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3E8D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E8D#FFFFFF#000000##FFFFFF
##2D3E8D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d3e8d;
/* rgb */ color: rgb(45, 62, 141);
/* oklch */ color: oklch(39.8% 0.132 270.2);
Tailwind
colors: {
  custom: {
    50: '#7273af',
    500: '#2d3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e8d;
$custom-light: #7273af;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e8d",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 229.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.13227,
    "h": 270.2
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#2D3E8D
secondary
#B5A661
accent
#C24DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2D3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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