#2D3E89#2D3E89

#2D3E89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.126 H 270.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#2D3E89
RGBrgb(45, 62, 137)
HSLhsl(229, 51%, 36%)
HSVhsv(229, 67%, 54%)
CMYKcmyk(67.2%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.92, 19.08, -44.02)
CIE-LCHlch(28.92, 47.98, 293.43°)
OKLaboklab(39.45% 0.0001 -0.1264)
OKLCHoklch(39.45% 0.126 270.1)
XYZxyz(7.3186, 5.8086, 24.3975)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E89 #89782D
analogous
#2D6C89 #2D3E89 #4A2D89
triadic
#2D3E89 #892D3E #3E892D
tetradic
#2D3E89 #892D6C #89782D #2D894A
square
#2D3E89 #892D6C #89782D #2D894A
split-complementary
#2D3E89 #894A2D #6C892D
monochromatic
#0F142D #1E295B #2D3E89 #3C53B7 #6477CC

Accessibility & contrast

On white

9.71
#2D3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D3E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E89
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E89#FFFFFF#000000##FFFFFF
##2D3E891.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3e89;
/* rgb */ color: rgb(45, 62, 137);
/* oklch */ color: oklch(39.4% 0.126 270.1);
Tailwind
colors: {
  custom: {
    50: '#7173ac',
    500: '#2d3e89',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e89;
$custom-light: #7173ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e89",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 228.913,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.12642,
    "h": 270.1
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#2D3E89
secondary
#B3A35F
accent
#C04EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D3E89

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

Preview Lab → · Contrast checker → · Palette generator →

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