#2F2285#2F2285

#2F2285 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.156 H 280.1°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#2F2285
RGBrgb(47, 34, 133)
HSLhsl(248, 59%, 33%)
HSVhsv(248, 74%, 52%)
CMYKcmyk(64.7%, 74.4%, 0%, 47.8%)
CIE-LABlab(21.73, 36.19, -53.25)
CIE-LCHlch(21.73, 64.38, 304.20°)
OKLaboklab(34.1% 0.0274 -0.1536)
OKLCHoklch(34.1% 0.156 280.1)
XYZxyz(5.9766, 3.4414, 22.5351)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2285 #788522
analogous
#224685 #2F2285 #602285
triadic
#2F2285 #852F22 #22852F
tetradic
#2F2285 #852246 #788522 #228560
square
#2F2285 #852246 #788522 #228560
split-complementary
#2F2285 #856022 #468522
monochromatic
#0D0924 #1E1654 #2F2285 #402EB6 #604FD2

Accessibility & contrast

On white

12.44
#2F2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2285
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2285#FFFFFF#000000##FFFFFF
##2F22851.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f2285;
/* rgb */ color: rgb(47, 34, 133);
/* oklch */ color: oklch(34.1% 0.156 280.1);
Tailwind
colors: {
  custom: {
    50: '#735faa',
    500: '#2f2285',
    950: '#000000',
  },
}
SCSS
$custom: #2f2285;
$custom-light: #735faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2285",
  "rgb": {
    "r": 47,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 247.879,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34097,
    "c": 0.15605,
    "h": 280.1
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#2F2285
secondary
#A8B64D
accent
#E245CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2F2285

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

Preview Lab → · Contrast checker → · Palette generator →

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