#2F2E9A#2F2E9A

#2F2E9A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.170 H 275.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2F2E9A
RGBrgb(47, 46, 154)
HSLhsl(241, 54%, 39%)
HSVhsv(241, 70%, 60%)
CMYKcmyk(69.5%, 70.1%, 0%, 39.6%)
CIE-LABlab(26.42, 36.09, -58.56)
CIE-LCHlch(26.42, 68.79, 301.65°)
OKLaboklab(38.08% 0.0152 -0.1692)
OKLCHoklch(38.08% 0.17 275.1)
XYZxyz(7.9801, 4.8907, 31.0890)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2E9A #999A2E
analogous
#2E639A #2F2E9A #652E9A
triadic
#2F2E9A #9A2F2E #2E9A2F
tetradic
#2F2E9A #9A2E63 #999A2E #2E9A65
square
#2F2E9A #9A2E63 #999A2E #2E9A65
split-complementary
#2F2E9A #9A652E #639A2E
monochromatic
#12123C #21206B #2F2E9A #413FC6 #6F6FD4

Accessibility & contrast

On white

10.62
#2F2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2E9A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2E9A#FFFFFF#000000##FFFFFF
##2F2E9A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f2e9a;
/* rgb */ color: rgb(47, 46, 154);
/* oklch */ color: oklch(38.1% 0.170 275.1);
Tailwind
colors: {
  custom: {
    50: '#7767b9',
    500: '#2f2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2f2e9a;
$custom-light: #7767b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2e9a",
  "rgb": {
    "r": 47,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 240.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.16985,
    "h": 275.1
  },
  "luminance": 0.04891
}

Semantic roles & 50–950 ramp

primary
#2F2E9A
secondary
#BABB69
accent
#DD4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2F2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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