#2F2E8A#2F2E8A

#2F2E8A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.148 H 276.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2F2E8A
RGBrgb(47, 46, 138)
HSLhsl(241, 50%, 36%)
HSVhsv(241, 67%, 54%)
CMYKcmyk(65.9%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.93, 30.49, -51.13)
CIE-LCHlch(24.93, 59.53, 300.80°)
OKLaboklab(36.54% 0.0171 -0.1474)
OKLCHoklch(36.54% 0.148 276.6)
XYZxyz(6.7352, 4.3927, 24.5328)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E8A #898A2E
analogous
#2E5B8A #2F2E8A #5D2E8A
triadic
#2F2E8A #8A2F2E #2E8A2F
tetradic
#2F2E8A #8A2E5B #898A2E #2E8A5D
square
#2F2E8A #8A2E5B #898A2E #2E8A5D
split-complementary
#2F2E8A #8A5D2E #5B8A2E
monochromatic
#100F2E #1F1F5C #2F2E8A #3F3DB8 #6766CC

Accessibility & contrast

On white

11.18
#2F2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2E8A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E8A#FFFFFF#000000##FFFFFF
##2F2E8A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f2e8a;
/* rgb */ color: rgb(47, 46, 138);
/* oklch */ color: oklch(36.5% 0.148 276.6);
Tailwind
colors: {
  custom: {
    50: '#7367ad',
    500: '#2f2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e8a;
$custom-light: #7367ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e8a",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 240.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.14842,
    "h": 276.6
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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