#2D2274#2D2274

#2D2274 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.134 H 281.9°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2D2274
RGBrgb(45, 34, 116)
HSLhsl(248, 55%, 29%)
HSVhsv(248, 71%, 45%)
CMYKcmyk(61.2%, 70.7%, 0%, 54.5%)
CIE-LABlab(19.89, 30.17, -45.47)
CIE-LCHlch(19.89, 54.57, 303.57°)
OKLaboklab(32.23% 0.0277 -0.1309)
OKLCHoklch(32.23% 0.134 281.9)
XYZxyz(4.8056, 2.9626, 16.8382)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2274 #697422
analogous
#224074 #2D2274 #562274
triadic
#2D2274 #742D22 #22742D
tetradic
#2D2274 #742240 #697422 #227456
square
#2D2274 #742240 #697422 #227456
split-complementary
#2D2274 #745622 #407422
monochromatic
#090718 #1B1445 #2D2274 #3F30A3 #5947C9

Accessibility & contrast

On white

13.19
#2D2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2274
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2274#FFFFFF#000000##FFFFFF
##2D22741.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#023748
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2274;
/* rgb */ color: rgb(45, 34, 116);
/* oklch */ color: oklch(32.2% 0.134 281.9);
Tailwind
colors: {
  custom: {
    50: '#6f5e9d',
    500: '#2d2274',
    950: '#000000',
  },
}
SCSS
$custom: #2d2274;
$custom-light: #6f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2274",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 248.049,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.13379,
    "h": 281.9
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#2D2274
secondary
#9BA74B
accent
#DE4ACA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2D2274

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

Preview Lab → · Contrast checker → · Palette generator →

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