#2D2E7A#2D2E7A

#2D2E7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.126 H 277.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2D2E7A
RGBrgb(45, 46, 122)
HSLhsl(239, 46%, 33%)
HSVhsv(239, 63%, 48%)
CMYKcmyk(63.1%, 62.3%, 0%, 52.2%)
CIE-LABlab(23.39, 24.42, -43.59)
CIE-LCHlch(23.39, 49.96, 299.26°)
OKLaboklab(34.95% 0.0156 -0.1253)
OKLCHoklch(34.95% 0.126 277.1)
XYZxyz(5.5709, 3.9166, 18.8710)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E7A #7A792D
analogous
#2D547A #2D2E7A #532D7A
triadic
#2D2E7A #7A2D2E #2E7A2D
tetradic
#2D2E7A #7A2D54 #7A792D #2D7A53
square
#2D2E7A #7A2D54 #7A792D #2D7A53
split-complementary
#2D2E7A #7A532D #547A2D
monochromatic
#0C0C21 #1D1D4D #2D2E7A #3D3FA7 #5E5FC4

Accessibility & contrast

On white

11.78
#2D2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D2E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E7A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E7A#FFFFFF#000000##FFFFFF
##2D2E7A1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2e7a;
/* rgb */ color: rgb(45, 46, 122);
/* oklch */ color: oklch(34.9% 0.126 277.1);
Tailwind
colors: {
  custom: {
    50: '#6f66a1',
    500: '#2d2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e7a;
$custom-light: #6f66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e7a",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 239.221,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34948,
    "c": 0.12629,
    "h": 277.1
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#2D2E7A
secondary
#AAA959
accent
#D452D6
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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