#2D2E7C#2D2E7C

#2D2E7C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.129 H 276.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2D2E7C
RGBrgb(45, 46, 124)
HSLhsl(239, 47%, 33%)
HSVhsv(239, 64%, 49%)
CMYKcmyk(63.7%, 62.9%, 0%, 51.4%)
CIE-LABlab(23.56, 25.14, -44.58)
CIE-LCHlch(23.56, 51.19, 299.42°)
OKLaboklab(35.12% 0.0155 -0.1283)
OKLCHoklch(35.12% 0.129 276.9)
XYZxyz(5.6961, 3.9667, 19.5304)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E7C #7C7B2D
analogous
#2D557C #2D2E7C #532D7C
triadic
#2D2E7C #7C2D2E #2E7C2D
tetradic
#2D2E7C #7C2D55 #7C7B2D #2D7C53
square
#2D2E7C #7C2D55 #7C7B2D #2D7C53
split-complementary
#2D2E7C #7C532D #557C2D
monochromatic
#0C0D22 #1D1D4F #2D2E7C #3D3FA9 #5F60C5

Accessibility & contrast

On white

11.71
#2D2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D2E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E7C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E7C#FFFFFF#000000##FFFFFF
##2D2E7C1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2e7c;
/* rgb */ color: rgb(45, 46, 124);
/* oklch */ color: oklch(35.1% 0.129 276.9);
Tailwind
colors: {
  custom: {
    50: '#6f67a3',
    500: '#2d2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e7c;
$custom-light: #6f67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e7c",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 239.241,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35124,
    "c": 0.12919,
    "h": 276.9
  },
  "luminance": 0.03967
}

Semantic roles & 50–950 ramp

primary
#2D2E7C
secondary
#ABAA5A
accent
#D551D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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