#2D2E62#2D2E62

#2D2E62 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.090 H 279.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2E62
RGBrgb(45, 46, 98)
HSLhsl(239, 37%, 28%)
HSVhsv(239, 54%, 38%)
CMYKcmyk(54.1%, 53.1%, 0%, 61.6%)
CIE-LABlab(21.56, 15.77, -31.09)
CIE-LCHlch(21.56, 34.87, 296.90°)
OKLaboklab(32.99% 0.0147 -0.0886)
OKLCHoklch(32.99% 0.09 279.4)
XYZxyz(4.2631, 3.3935, 11.9833)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E62 #62612D
analogous
#2D4862 #2D2E62 #462D62
triadic
#2D2E62 #622D2E #2E622D
tetradic
#2D2E62 #622D48 #62612D #2D6246
square
#2D2E62 #622D48 #62612D #2D6246
split-complementary
#2D2E62 #62462D #48622D
monochromatic
#0A0A15 #1A1A38 #2D2E62 #40428C #5759B2

Accessibility & contrast

On white

12.51
#2D2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E62
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E62#FFFFFF#000000##FFFFFF
##2D2E621.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153664
Deuteranopia (green-blind)
#103261
Tritanopia (blue-blind)
#183943
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2e62;
/* rgb */ color: rgb(45, 46, 98);
/* oklch */ color: oklch(33.0% 0.090 279.4);
Tailwind
colors: {
  custom: {
    50: '#6a668f',
    500: '#2d2e62',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e62;
$custom-light: #6a668f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e62",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 238.868,
    "s": 37.063,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32994,
    "c": 0.08981,
    "h": 279.4
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#2D2E62
secondary
#949357
accent
#CB5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2D2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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