#2D2FAA#2D2FAA

#2D2FAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.190 H 272.9°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2FAA
RGBrgb(45, 47, 170)
HSLhsl(239, 58%, 42%)
HSVhsv(239, 74%, 67%)
CMYKcmyk(73.5%, 72.4%, 0%, 33.3%)
CIE-LABlab(28.09, 40.77, -65.51)
CIE-LCHlch(28.09, 77.16, 301.90°)
OKLaboklab(39.73% 0.0098 -0.1895)
OKLCHoklch(39.73% 0.19 272.9)
XYZxyz(9.3520, 5.4922, 38.5897)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2FAA #AAA82D
analogous
#2D6EAA #2D2FAA #6A2DAA
triadic
#2D2FAA #AA2D2F #2FAA2D
tetradic
#2D2FAA #AA2D6E #AAA82D #2DAA6A
square
#2D2FAA #AA2D6E #AAA82D #2DAA6A
split-complementary
#2D2FAA #AA6A2D #6EAA2D
monochromatic
#131449 #20227A #2D2FAA #4648CE #7778DB

Accessibility & contrast

On white

10.01
#2D2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D2FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2FAA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2FAA#FFFFFF#000000##FFFFFF
##2D2FAA1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d2faa;
/* rgb */ color: rgb(45, 47, 170);
/* oklch */ color: oklch(39.7% 0.190 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a69c4',
    500: '#2d2faa',
    950: '#000000',
  },
}
SCSS
$custom: #2d2faa;
$custom-light: #7a69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2faa",
  "rgb": {
    "r": 45,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 239.04,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39726,
    "c": 0.18978,
    "h": 272.9
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#2D2FAA
secondary
#C3C170
accent
#DF46E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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