#2F2E8B#2F2E8B

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

Color values

HEX#2F2E8B
RGBrgb(47, 46, 139)
HSLhsl(241, 50%, 36%)
HSVhsv(241, 67%, 55%)
CMYKcmyk(66.2%, 66.9%, 0%, 45.5%)
CIE-LABlab(25.02, 30.84, -51.61)
CIE-LCHlch(25.02, 60.12, 300.86°)
OKLaboklab(36.64% 0.017 -0.1488)
OKLCHoklch(36.64% 0.15 276.5)
XYZxyz(6.8080, 4.4218, 24.9158)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E8B #8A8B2E
analogous
#2E5C8B #2F2E8B #5E2E8B
triadic
#2F2E8B #8B2F2E #2E8B2F
tetradic
#2F2E8B #8B2E5C #8A8B2E #2E8B5E
square
#2F2E8B #8B2E5C #8A8B2E #2E8B5E
split-complementary
#2F2E8B #8B5E2E #5C8B2E
monochromatic
#10102F #1F1F5D #2F2E8B #3F3DB9 #6867CD

Accessibility & contrast

On white

11.14
#2F2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E8B
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E8B#FFFFFF#000000##FFFFFF
##2F2E8B1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2e8b;
/* rgb */ color: rgb(47, 46, 139);
/* oklch */ color: oklch(36.6% 0.150 276.5);
Tailwind
colors: {
  custom: {
    50: '#7367ae',
    500: '#2f2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e8b;
$custom-light: #7367ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e8b",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 240.645,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36638,
    "c": 0.14979,
    "h": 276.5
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#2F2E8B
secondary
#B3B361
accent
#DA4ED8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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