#2D3E80#2D3E80

#2D3E80 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.113 H 269.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2D3E80
RGBrgb(45, 62, 128)
HSLhsl(228, 48%, 34%)
HSVhsv(228, 65%, 50%)
CMYKcmyk(64.8%, 51.6%, 0%, 49.8%)
CIE-LABlab(28.28, 15.69, -39.47)
CIE-LCHlch(28.28, 42.47, 291.69°)
OKLaboklab(38.75% -0.0007 -0.113)
OKLCHoklch(38.75% 0.113 269.6)
XYZxyz(6.6998, 5.5611, 21.1382)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E80 #806F2D
analogous
#2D6880 #2D3E80 #462D80
triadic
#2D3E80 #802D3E #3E802D
tetradic
#2D3E80 #802D68 #806F2D #2D8046
square
#2D3E80 #802D68 #806F2D #2D8046
split-complementary
#2D3E80 #80462D #68802D
monochromatic
#0D1225 #1D2853 #2D3E80 #3D54AD #6075C7

Accessibility & contrast

On white

9.94
#2D3E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D3E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E80
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E80#FFFFFF#000000##FFFFFF
##2D3E801.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4782
Deuteranopia (green-blind)
#063F7F
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d3e80;
/* rgb */ color: rgb(45, 62, 128);
/* oklch */ color: oklch(38.8% 0.113 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f72a5',
    500: '#2d3e80',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e80;
$custom-light: #6f72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e80",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 128
  },
  "hsl": {
    "h": 227.711,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.11302,
    "h": 269.6
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#2D3E80
secondary
#AE9D5B
accent
#BC50D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D3E80

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

Preview Lab → · Contrast checker → · Palette generator →

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