#2D2273#2D2273

#2D2273 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.132 H 282.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#2D2273
RGBrgb(45, 34, 115)
HSLhsl(248, 54%, 29%)
HSVhsv(248, 70%, 45%)
CMYKcmyk(60.9%, 70.4%, 0%, 54.9%)
CIE-LABlab(19.80, 29.83, -44.98)
CIE-LCHlch(19.80, 53.97, 303.56°)
OKLaboklab(32.14% 0.0278 -0.1295)
OKLCHoklch(32.14% 0.132 282.1)
XYZxyz(4.7478, 2.9394, 16.5335)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2273 #687322
analogous
#224073 #2D2273 #562273
triadic
#2D2273 #732D22 #22732D
tetradic
#2D2273 #732240 #687322 #227356
square
#2D2273 #732240 #687322 #227356
split-complementary
#2D2273 #735622 #407322
monochromatic
#090718 #1B1444 #2D2273 #3F30A2 #5847C9

Accessibility & contrast

On white

13.22
#2D2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2273
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2273#FFFFFF#000000##FFFFFF
##2D22731.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#043747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2273;
/* rgb */ color: rgb(45, 34, 115);
/* oklch */ color: oklch(32.1% 0.132 282.1);
Tailwind
colors: {
  custom: {
    50: '#6f5e9c',
    500: '#2d2273',
    950: '#000000',
  },
}
SCSS
$custom: #2d2273;
$custom-light: #6f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2273",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 248.148,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32135,
    "c": 0.13242,
    "h": 282.1
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2273

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

Preview Lab → · Contrast checker → · Palette generator →

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