#2D3E6A#2D3E6A

#2D3E6A is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.079 H 266.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#2D3E6A
RGBrgb(45, 62, 106)
HSLhsl(223, 40%, 30%)
HSVhsv(223, 58%, 42%)
CMYKcmyk(57.5%, 41.5%, 0%, 58.4%)
CIE-LABlab(26.86, 7.55, -27.82)
CIE-LCHlch(26.86, 28.83, 285.18°)
OKLaboklab(37.21% -0.0046 -0.0788)
OKLCHoklch(37.21% 0.079 266.6)
XYZxyz(5.4055, 5.0433, 14.3215)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E6A #6A592D
analogous
#2D5D6A #2D3E6A #3B2D6A
triadic
#2D3E6A #6A2D3E #3E6A2D
tetradic
#2D3E6A #6A2D5D #6A592D #2D6A3B
square
#2D3E6A #6A2D5D #6A592D #2D6A3B
split-complementary
#2D3E6A #6A3B2D #5D6A2D
monochromatic
#090D15 #1B253F #2D3E6A #3F5795 #5974B8

Accessibility & contrast

On white

10.45
#2D3E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E6A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E6A#FFFFFF#000000##FFFFFF
##2D3E6A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C426C
Deuteranopia (green-blind)
#253D69
Tritanopia (blue-blind)
#0B484F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3e6a;
/* rgb */ color: rgb(45, 62, 106);
/* oklch */ color: oklch(37.2% 0.079 266.6);
Tailwind
colors: {
  custom: {
    50: '#6b7395',
    500: '#2d3e6a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e6a;
$custom-light: #6b7395;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e6a",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 106
  },
  "hsl": {
    "h": 223.279,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37206,
    "c": 0.07897,
    "h": 266.6
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#2D3E6A
secondary
#9C8957
accent
#AF58D0
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2D3E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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