#2D2E80#2D2E80

#2D2E80 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.135 H 276.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2D2E80
RGBrgb(45, 46, 128)
HSLhsl(239, 48%, 34%)
HSVhsv(239, 65%, 50%)
CMYKcmyk(64.8%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.90, 26.59, -46.56)
CIE-LCHlch(23.90, 53.61, 299.73°)
OKLaboklab(35.48% 0.0153 -0.134)
OKLCHoklch(35.48% 0.135 276.5)
XYZxyz(5.9542, 4.0699, 20.8897)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E80 #807F2D
analogous
#2D5880 #2D2E80 #562D80
triadic
#2D2E80 #802D2E #2E802D
tetradic
#2D2E80 #802D58 #807F2D #2D8056
square
#2D2E80 #802D58 #807F2D #2D8056
split-complementary
#2D2E80 #80562D #58802D
monochromatic
#0D0D25 #1D1E53 #2D2E80 #3D3EAD #6061C7

Accessibility & contrast

On white

11.58
#2D2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E80
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E80#FFFFFF#000000##FFFFFF
##2D2E801.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2e80;
/* rgb */ color: rgb(45, 46, 128);
/* oklch */ color: oklch(35.5% 0.135 276.5);
Tailwind
colors: {
  custom: {
    50: '#7067a6',
    500: '#2d2e80',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e80;
$custom-light: #7067a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e80",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 239.277,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35481,
    "c": 0.13492,
    "h": 276.5
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#2D2E80
secondary
#AEAD5B
accent
#D650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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