#2F2273#2F2273

#2F2273 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.132 H 283.5°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2273
RGBrgb(47, 34, 115)
HSLhsl(250, 54%, 29%)
HSVhsv(250, 70%, 45%)
CMYKcmyk(59.1%, 70.4%, 0%, 54.9%)
CIE-LABlab(19.99, 30.18, -44.66)
CIE-LCHlch(19.99, 53.90, 304.05°)
OKLaboklab(32.32% 0.0308 -0.1285)
OKLCHoklch(32.32% 0.132 283.5)
XYZxyz(4.8379, 2.9859, 16.5377)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2273 #667322
analogous
#223E73 #2F2273 #582273
triadic
#2F2273 #732F22 #22732F
tetradic
#2F2273 #73223E #667322 #227358
square
#2F2273 #73223E #667322 #227358
split-complementary
#2F2273 #735822 #3E7322
monochromatic
#0A0718 #1C1444 #2F2273 #4230A2 #5C47C9

Accessibility & contrast

On white

13.15
#2F2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2F2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2273
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2273#FFFFFF#000000##FFFFFF
##2F22731.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#0C3747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2f2273;
/* rgb */ color: rgb(47, 34, 115);
/* oklch */ color: oklch(32.3% 0.132 283.5);
Tailwind
colors: {
  custom: {
    50: '#705e9c',
    500: '#2f2273',
    950: '#000000',
  },
}
SCSS
$custom: #2f2273;
$custom-light: #705e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2273",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 249.63,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.13211,
    "h": 283.5
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#2F2273
secondary
#98A64B
accent
#DE4AC6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2F2273

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

Preview Lab → · Contrast checker → · Palette generator →

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