#2D3D64#2D3D64

#2D3D64 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.071 H 266.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#2D3D64
RGBrgb(45, 61, 100)
HSLhsl(223, 38%, 28%)
HSVhsv(223, 55%, 39%)
CMYKcmyk(55%, 39%, 0%, 60.8%)
CIE-LABlab(26.20, 6.07, -25.00)
CIE-LCHlch(26.20, 25.73, 283.65°)
OKLaboklab(36.59% -0.0048 -0.0706)
OKLCHoklch(36.59% 0.071 266.1)
XYZxyz(5.0504, 4.8151, 12.7174)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D64 #64542D
analogous
#2D5864 #2D3D64 #382D64
triadic
#2D3D64 #642D3D #3D642D
tetradic
#2D3D64 #642D58 #64542D #2D6438
square
#2D3D64 #642D58 #64542D #2D6438
split-complementary
#2D3D64 #64382D #58642D
monochromatic
#090D15 #1A233A #2D3D64 #40578E #5872B4

Accessibility & contrast

On white

10.70
#2D3D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D3D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D64
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D64#FFFFFF#000000##FFFFFF
##2D3D641.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#273C63
Tritanopia (blue-blind)
#13454B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d3d64;
/* rgb */ color: rgb(45, 61, 100);
/* oklch */ color: oklch(36.6% 0.071 266.1);
Tailwind
colors: {
  custom: {
    50: '#6a7290',
    500: '#2d3d64',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d64;
$custom-light: #6a7290;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d64",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 222.545,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36585,
    "c": 0.07077,
    "h": 266.1
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#2D3D64
secondary
#968457
accent
#AC5ACE
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2D3D64

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

Preview Lab → · Contrast checker → · Palette generator →

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