#2D2E5B#2D2E5B

#2D2E5B is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.079 H 280.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2D2E5B
RGBrgb(45, 46, 91)
HSLhsl(239, 34%, 27%)
HSVhsv(239, 51%, 36%)
CMYKcmyk(50.5%, 49.5%, 0%, 64.3%)
CIE-LABlab(21.08, 13.30, -27.25)
CIE-LCHlch(21.08, 30.32, 296.03°)
OKLaboklab(32.49% 0.0138 -0.0773)
OKLCHoklch(32.49% 0.079 280.1)
XYZxyz(3.9469, 3.2670, 10.3181)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E5B #5B5A2D
analogous
#2D455B #2D2E5B #432D5B
triadic
#2D2E5B #5B2D2E #2E5B2D
tetradic
#2D2E5B #5B2D45 #5B5A2D #2D5B43
square
#2D2E5B #5B2D45 #5B5A2D #2D5B43
split-complementary
#2D2E5B #5B432D #455B2D
monochromatic
#0A0A14 #191932 #2D2E5B #414384 #5759AC

Accessibility & contrast

On white

12.70
#2D2E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2D2E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E5B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E5B#FFFFFF#000000##FFFFFF
##2D2E5B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C345D
Deuteranopia (green-blind)
#18315A
Tritanopia (blue-blind)
#1D3740
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2e5b;
/* rgb */ color: rgb(45, 46, 91);
/* oklch */ color: oklch(32.5% 0.079 280.1);
Tailwind
colors: {
  custom: {
    50: '#69668a',
    500: '#2d2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e5b;
$custom-light: #69668a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e5b",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 238.696,
    "s": 33.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.07851,
    "h": 280.1
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#2D2E5B
secondary
#8D8C57
accent
#C85ECA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2D2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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