#2D2F53#2D2F53

#2D2F53 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.064 H 279.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#2D2F53
RGBrgb(45, 47, 83)
HSLhsl(237, 30%, 25%)
HSVhsv(237, 46%, 33%)
CMYKcmyk(45.8%, 43.4%, 0%, 67.5%)
CIE-LABlab(20.89, 9.84, -22.25)
CIE-LCHlch(20.89, 24.33, 293.87°)
OKLaboklab(32.17% 0.0108 -0.0627)
OKLCHoklch(32.17% 0.064 279.8)
XYZxyz(3.6596, 3.2153, 8.6097)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2F53 #53512D
analogous
#2D4253 #2D2F53 #3E2D53
triadic
#2D2F53 #532D2F #2F532D
tetradic
#2D2F53 #532D42 #53512D #2D533E
square
#2D2F53 #532D42 #53512D #2D533E
split-complementary
#2D2F53 #533E2D #42532D
monochromatic
#0B0B14 #17192B #2D2F53 #43457B #585CA2

Accessibility & contrast

On white

12.78
#2D2F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D2F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2F53
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2F53#FFFFFF#000000##FFFFFF
##2D2F531.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223454
Deuteranopia (green-blind)
#203152
Tritanopia (blue-blind)
#21363D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2f53;
/* rgb */ color: rgb(45, 47, 83);
/* oklch */ color: oklch(32.2% 0.064 279.8);
Tailwind
colors: {
  custom: {
    50: '#686783',
    500: '#2d2f53',
    950: '#000000',
  },
}
SCSS
$custom: #2d2f53;
$custom-light: #686783;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2f53",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 236.842,
    "s": 29.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32173,
    "c": 0.06359,
    "h": 279.8
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#2D2F53
secondary
#858257
accent
#C162C6
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D2F53

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

Preview Lab → · Contrast checker → · Palette generator →

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