#2F2A73#2F2A73

#2F2A73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.121 H 280.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2F2A73
RGBrgb(47, 42, 115)
HSLhsl(244, 46%, 31%)
HSVhsv(244, 63%, 45%)
CMYKcmyk(59.1%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.94, 24.99, -41.49)
CIE-LCHlch(21.94, 48.43, 301.07°)
OKLaboklab(33.73% 0.0227 -0.1191)
OKLCHoklch(33.73% 0.121 280.8)
XYZxyz(5.0938, 3.4977, 16.6230)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A73 #6E732A
analogous
#2A4973 #2F2A73 #532A73
triadic
#2F2A73 #732F2A #2A732F
tetradic
#2F2A73 #732A49 #6E732A #2A7353
square
#2F2A73 #732A49 #6E732A #2A7353
split-complementary
#2F2A73 #73532A #49732A
monochromatic
#0A0919 #1D1A46 #2F2A73 #413AA0 #5D56C1

Accessibility & contrast

On white

12.36
#2F2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2A73
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A73#FFFFFF#000000##FFFFFF
##2F2A731.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#0B3C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2a73;
/* rgb */ color: rgb(47, 42, 115);
/* oklch */ color: oklch(33.7% 0.121 280.8);
Tailwind
colors: {
  custom: {
    50: '#6f649c',
    500: '#2f2a73',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a73;
$custom-light: #6f649c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a73",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 244.11,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33734,
    "c": 0.12125,
    "h": 280.8
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#2F2A73
secondary
#9FA554
accent
#D652CD
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2F2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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