#2D3470#2D3470

#2D3470 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.103 H 274.9°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2D3470
RGBrgb(45, 52, 112)
HSLhsl(234, 43%, 31%)
HSVhsv(234, 60%, 44%)
CMYKcmyk(59.8%, 53.6%, 0%, 56.1%)
CIE-LABlab(24.27, 16.65, -35.80)
CIE-LCHlch(24.27, 39.48, 294.95°)
OKLaboklab(35.36% 0.0087 -0.1024)
OKLCHoklch(35.36% 0.103 274.9)
XYZxyz(5.2339, 4.1833, 15.8578)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3470 #70692D
analogous
#2D5570 #2D3470 #472D70
triadic
#2D3470 #702D34 #34702D
tetradic
#2D3470 #702D55 #70692D #2D7047
square
#2D3470 #702D55 #70692D #2D7047
split-complementary
#2D3470 #70472D #55702D
monochromatic
#0A0B19 #1B2044 #2D3470 #3F489C #5A65BD

Accessibility & contrast

On white

11.43
#2D3470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2D3470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3470
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3470#FFFFFF#000000##FFFFFF
##2D34701.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#07376F
Tritanopia (blue-blind)
#04424C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3470;
/* rgb */ color: rgb(45, 52, 112);
/* oklch */ color: oklch(35.4% 0.103 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c6b99',
    500: '#2d3470',
    950: '#000000',
  },
}
SCSS
$custom: #2d3470;
$custom-light: #6c6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3470",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 112
  },
  "hsl": {
    "h": 233.731,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35356,
    "c": 0.10273,
    "h": 274.9
  },
  "luminance": 0.04184
}

Semantic roles & 50–950 ramp

primary
#2D3470
secondary
#A29A57
accent
#C555D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D3470

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

Preview Lab → · Contrast checker → · Palette generator →

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