#2F2D8E#2F2D8E

#2F2D8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.155 H 276.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2F2D8E
RGBrgb(47, 45, 142)
HSLhsl(241, 52%, 37%)
HSVhsv(241, 68%, 56%)
CMYKcmyk(66.9%, 68.3%, 0%, 44.3%)
CIE-LABlab(25.06, 32.54, -53.41)
CIE-LCHlch(25.06, 62.54, 301.35°)
OKLaboklab(36.75% 0.0175 -0.1541)
OKLCHoklch(36.75% 0.155 276.5)
XYZxyz(6.9916, 4.4335, 26.0732)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D8E #8C8E2D
analogous
#2D5C8E #2F2D8E #602D8E
triadic
#2F2D8E #8E2F2D #2D8E2F
tetradic
#2F2D8E #8E2D5C #8C8E2D #2D8E60
square
#2F2D8E #8E2D5C #8C8E2D #2D8E60
split-complementary
#2F2D8E #8E602D #5C8E2D
monochromatic
#101031 #201E60 #2F2D8E #3E3CBC #6967CF

Accessibility & contrast

On white

11.13
#2F2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2D8E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D8E#FFFFFF#000000##FFFFFF
##2F2D8E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2d8e;
/* rgb */ color: rgb(47, 45, 142);
/* oklch */ color: oklch(36.7% 0.155 276.5);
Tailwind
colors: {
  custom: {
    50: '#7466b0',
    500: '#2f2d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d8e;
$custom-light: #7466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d8e",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 241.237,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36748,
    "c": 0.1551,
    "h": 276.5
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#2F2D8E
secondary
#B4B561
accent
#DB4CD8
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2F2D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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