#2F2D6A#2F2D6A

#2F2D6A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.103 H 280.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2F2D6A
RGBrgb(47, 45, 106)
HSLhsl(242, 40%, 30%)
HSVhsv(242, 58%, 42%)
CMYKcmyk(55.7%, 57.5%, 0%, 58.4%)
CIE-LABlab(22.02, 19.79, -35.55)
CIE-LCHlch(22.02, 40.68, 299.10°)
OKLaboklab(33.57% 0.0193 -0.1016)
OKLCHoklch(33.57% 0.103 280.7)
XYZxyz(4.7114, 3.5214, 14.0643)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D6A #686A2D
analogous
#2D4A6A #2F2D6A #4E2D6A
triadic
#2F2D6A #6A2F2D #2D6A2F
tetradic
#2F2D6A #6A2D4A #686A2D #2D6A4E
square
#2F2D6A #6A2D4A #686A2D #2D6A4E
split-complementary
#2F2D6A #6A4E2D #4A6A2D
monochromatic
#0A0915 #1C1B3F #2F2D6A #423F95 #5C59B8

Accessibility & contrast

On white

12.32
#2F2D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2F2D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D6A
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D6A#FFFFFF#000000##FFFFFF
##2F2D6A1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#013269
Tritanopia (blue-blind)
#163B46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2d6a;
/* rgb */ color: rgb(47, 45, 106);
/* oklch */ color: oklch(33.6% 0.103 280.7);
Tailwind
colors: {
  custom: {
    50: '#6d6695',
    500: '#2f2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d6a;
$custom-light: #6d6695;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d6a",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 241.967,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.10343,
    "h": 280.7
  },
  "luminance": 0.03522
}

Semantic roles & 50–950 ramp

primary
#2F2D6A
secondary
#999C57
accent
#D058CC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #2F2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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