#2D3E7D#2D3E7D

#2D3E7D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.108 H 269.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#2D3E7D
RGBrgb(45, 62, 125)
HSLhsl(227, 47%, 33%)
HSVhsv(227, 64%, 49%)
CMYKcmyk(64%, 50.4%, 0%, 51%)
CIE-LABlab(28.07, 14.57, -37.92)
CIE-LCHlch(28.07, 40.62, 291.02°)
OKLaboklab(38.53% -0.0011 -0.1085)
OKLCHoklch(38.53% 0.108 269.4)
XYZxyz(6.5052, 5.4833, 20.1136)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E7D #7D6C2D
analogous
#2D667D #2D3E7D #442D7D
triadic
#2D3E7D #7D2D3E #3E7D2D
tetradic
#2D3E7D #7D2D66 #7D6C2D #2D7D44
square
#2D3E7D #7D2D66 #7D6C2D #2D7D44
split-complementary
#2D3E7D #7D442D #667D2D
monochromatic
#0D1123 #1D2850 #2D3E7D #3D54AA #5F75C5

Accessibility & contrast

On white

10.02
#2D3E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D3E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E7D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E7D#FFFFFF#000000##FFFFFF
##2D3E7D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#0E3F7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d3e7d;
/* rgb */ color: rgb(45, 62, 125);
/* oklch */ color: oklch(38.5% 0.108 269.4);
Tailwind
colors: {
  custom: {
    50: '#6e72a3',
    500: '#2d3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e7d;
$custom-light: #6e72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e7d",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 227.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.10849,
    "h": 269.4
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#2D3E7D
secondary
#AC9A5A
accent
#BA51D7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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