#2D2A70#2D2A70

#2D2A70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.117 H 279.8°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2D2A70
RGBrgb(45, 42, 112)
HSLhsl(243, 45%, 30%)
HSVhsv(243, 63%, 44%)
CMYKcmyk(59.8%, 62.5%, 0%, 56.1%)
CIE-LABlab(21.52, 23.53, -40.24)
CIE-LCHlch(21.52, 46.62, 300.32°)
OKLaboklab(33.31% 0.02 -0.1155)
OKLCHoklch(33.31% 0.117 279.8)
XYZxyz(4.8339, 3.3833, 15.7244)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A70 #6D702A
analogous
#2A4A70 #2D2A70 #502A70
triadic
#2D2A70 #702D2A #2A702D
tetradic
#2D2A70 #702A4A #6D702A #2A7050
square
#2D2A70 #702A4A #6D702A #2A7050
split-complementary
#2D2A70 #70502A #4A702A
monochromatic
#090917 #1B1943 #2D2A70 #3F3B9D #5A55BF

Accessibility & contrast

On white

12.52
#2D2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A70
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A70#FFFFFF#000000##FFFFFF
##2D2A701.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#073B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2a70;
/* rgb */ color: rgb(45, 42, 112);
/* oklch */ color: oklch(33.3% 0.117 279.8);
Tailwind
colors: {
  custom: {
    50: '#6d639a',
    500: '#2d2a70',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a70;
$custom-light: #6d639a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a70",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 242.571,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33305,
    "c": 0.11725,
    "h": 279.8
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#2D2A70
secondary
#9FA254
accent
#D553D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2D2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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