#2D3E6F#2D3E6F

#2D3E6F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.087 H 267.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2D3E6F
RGBrgb(45, 62, 111)
HSLhsl(225, 42%, 31%)
HSVhsv(225, 59%, 44%)
CMYKcmyk(59.5%, 44.1%, 0%, 56.5%)
CIE-LABlab(27.16, 9.37, -30.53)
CIE-LCHlch(27.16, 31.94, 287.06°)
OKLaboklab(37.54% -0.0035 -0.0868)
OKLCHoklch(37.54% 0.087 267.7)
XYZxyz(5.6731, 5.1504, 15.7310)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E6F #6F5E2D
analogous
#2D5F6F #2D3E6F #3D2D6F
triadic
#2D3E6F #6F2D3E #3E6F2D
tetradic
#2D3E6F #6F2D5F #6F5E2D #2D6F3D
square
#2D3E6F #6F2D5F #6F5E2D #2D6F3D
split-complementary
#2D3E6F #6F3D2D #5F6F2D
monochromatic
#0A0D18 #1B2643 #2D3E6F #3F569B #5A73BC

Accessibility & contrast

On white

10.34
#2D3E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D3E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E6F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E6F#FFFFFF#000000##FFFFFF
##2D3E6F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#213D6E
Tritanopia (blue-blind)
#034951
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3e6f;
/* rgb */ color: rgb(45, 62, 111);
/* oklch */ color: oklch(37.5% 0.087 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c7398',
    500: '#2d3e6f',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e6f;
$custom-light: #6c7398;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e6f",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 111
  },
  "hsl": {
    "h": 224.545,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.08685,
    "h": 267.7
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#2D3E6F
secondary
#A18E57
accent
#B256D2
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D3E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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