#2F2A69#2F2A69

#2F2A69 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.106 H 282.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2F2A69
RGBrgb(47, 42, 105)
HSLhsl(245, 43%, 29%)
HSVhsv(245, 60%, 41%)
CMYKcmyk(55.2%, 60%, 0%, 58.8%)
CIE-LABlab(21.13, 21.49, -36.33)
CIE-LCHlch(21.13, 42.21, 300.60°)
OKLaboklab(32.89% 0.0229 -0.104)
OKLCHoklch(32.89% 0.106 282.4)
XYZxyz(4.5493, 3.2799, 13.7552)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A69 #64692A
analogous
#2A4569 #2F2A69 #4F2A69
triadic
#2F2A69 #692F2A #2A692F
tetradic
#2F2A69 #692A45 #64692A #2A694F
square
#2F2A69 #692A45 #64692A #2A694F
split-complementary
#2F2A69 #694F2A #45692A
monochromatic
#0A0916 #1B193D #2F2A69 #433B95 #5B53BA

Accessibility & contrast

On white

12.68
#2F2A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2F2A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A69
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A69#FFFFFF#000000##FFFFFF
##2F2A691.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#173845
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f2a69;
/* rgb */ color: rgb(47, 42, 105);
/* oklch */ color: oklch(32.9% 0.106 282.4);
Tailwind
colors: {
  custom: {
    50: '#6d6394',
    500: '#2f2a69',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a69;
$custom-light: #6d6394;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a69",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 244.762,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.10645,
    "h": 282.4
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#2F2A69
secondary
#969B54
accent
#D355C9
background
#F6F5F9
surface
#ECEAF1
border
#C7C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2F2A69

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

Preview Lab → · Contrast checker → · Palette generator →

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