#2F2B70#2F2B70

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

Color values

HEX#2F2B70
RGBrgb(47, 43, 112)
HSLhsl(243, 45%, 30%)
HSVhsv(243, 62%, 44%)
CMYKcmyk(58%, 61.6%, 0%, 56.1%)
CIE-LABlab(21.95, 23.27, -39.54)
CIE-LCHlch(21.95, 45.87, 300.48°)
OKLaboklab(33.67% 0.0217 -0.1134)
OKLCHoklch(33.67% 0.115 280.8)
XYZxyz(4.9599, 3.5016, 15.7406)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B70 #6C702B
analogous
#2B4970 #2F2B70 #512B70
triadic
#2F2B70 #702F2B #2B702F
tetradic
#2F2B70 #702B49 #6C702B #2B7051
square
#2F2B70 #702B49 #6C702B #2B7051
split-complementary
#2F2B70 #70512B #49702B
monochromatic
#0A0918 #1C1A44 #2F2B70 #423C9C #5D57BE

Accessibility & contrast

On white

12.35
#2F2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2B70
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B70#FFFFFF#000000##FFFFFF
##2F2B701.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#0F3B49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f2b70;
/* rgb */ color: rgb(47, 43, 112);
/* oklch */ color: oklch(33.7% 0.115 280.8);
Tailwind
colors: {
  custom: {
    50: '#6e649a',
    500: '#2f2b70',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b70;
$custom-light: #6e649a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b70",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 243.478,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.11543,
    "h": 280.8
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#2F2B70
secondary
#9DA255
accent
#D454CD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2F2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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