#2F2D8F#2F2D8F

#2F2D8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.156 H 276.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2F2D8F
RGBrgb(47, 45, 143)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 69%, 56%)
CMYKcmyk(67.1%, 68.5%, 0%, 43.9%)
CIE-LABlab(25.15, 32.88, -53.88)
CIE-LCHlch(25.15, 63.12, 301.40°)
OKLaboklab(36.84% 0.0174 -0.1555)
OKLCHoklch(36.84% 0.156 276.4)
XYZxyz(7.0670, 4.4637, 26.4704)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D8F #8D8F2D
analogous
#2D5C8F #2F2D8F #602D8F
triadic
#2F2D8F #8F2F2D #2D8F2F
tetradic
#2F2D8F #8F2D5C #8D8F2D #2D8F60
square
#2F2D8F #8F2D5C #8D8F2D #2D8F60
split-complementary
#2F2D8F #8F602D #5C8F2D
monochromatic
#101032 #201E60 #2F2D8F #3E3CBE #6967CF

Accessibility & contrast

On white

11.09
#2F2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F2D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D8F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D8F#FFFFFF#000000##FFFFFF
##2F2D8F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f2d8f;
/* rgb */ color: rgb(47, 45, 143);
/* oklch */ color: oklch(36.8% 0.156 276.4);
Tailwind
colors: {
  custom: {
    50: '#7466b1',
    500: '#2f2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d8f;
$custom-light: #7466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d8f",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 241.224,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36844,
    "c": 0.15645,
    "h": 276.4
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#2F2D8F
secondary
#B4B662
accent
#DC4CD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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