#2D2E60#2D2E60

#2D2E60 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.087 H 279.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2D2E60
RGBrgb(45, 46, 96)
HSLhsl(239, 36%, 28%)
HSVhsv(239, 53%, 38%)
CMYKcmyk(53.1%, 52.1%, 0%, 62.4%)
CIE-LABlab(21.42, 15.06, -30.00)
CIE-LCHlch(21.42, 33.57, 296.66°)
OKLaboklab(32.85% 0.0145 -0.0854)
OKLCHoklch(32.85% 0.087 279.6)
XYZxyz(4.1699, 3.3562, 11.4921)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E60 #605F2D
analogous
#2D4760 #2D2E60 #462D60
triadic
#2D2E60 #602D2E #2E602D
tetradic
#2D2E60 #602D47 #605F2D #2D6046
square
#2D2E60 #602D47 #605F2D #2D6046
split-complementary
#2D2E60 #60462D #47602D
monochromatic
#0A0A15 #191A36 #2D2E60 #41428A #5759B0

Accessibility & contrast

On white

12.57
#2D2E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D2E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E60
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E60#FFFFFF#000000##FFFFFF
##2D2E601.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173562
Deuteranopia (green-blind)
#13315F
Tritanopia (blue-blind)
#193942
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2e60;
/* rgb */ color: rgb(45, 46, 96);
/* oklch */ color: oklch(32.8% 0.087 279.6);
Tailwind
colors: {
  custom: {
    50: '#6a668d',
    500: '#2d2e60',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e60;
$custom-light: #6a668d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e60",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 238.824,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32846,
    "c": 0.08661,
    "h": 279.6
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#2D2E60
secondary
#929157
accent
#CA5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2D2E60

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

Preview Lab → · Contrast checker → · Palette generator →

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