#2E2F9C#2E2F9C

#2E2F9C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.172 H 274.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2F9C
RGBrgb(46, 47, 156)
HSLhsl(239, 54%, 40%)
HSVhsv(239, 71%, 61%)
CMYKcmyk(70.5%, 69.9%, 0%, 38.8%)
CIE-LABlab(26.77, 36.05, -59.20)
CIE-LCHlch(26.77, 69.31, 301.33°)
OKLaboklab(38.38% 0.013 -0.1711)
OKLCHoklch(38.38% 0.172 274.3)
XYZxyz(8.1420, 5.0134, 31.9846)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F9C #9C9B2E
analogous
#2E669C #2E2F9C #642E9C
triadic
#2E2F9C #9C2E2F #2F9C2E
tetradic
#2E2F9C #9C2E66 #9C9B2E #2E9C64
square
#2E2F9C #9C2E66 #9C9B2E #2E9C64
split-complementary
#2E2F9C #9C642E #669C2E
monochromatic
#12133D #20216D #2E2F9C #4042C7 #7071D5

Accessibility & contrast

On white

10.49
#2E2F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E2F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F9C
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F9C#FFFFFF#000000##FFFFFF
##2E2F9C1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e2f9c;
/* rgb */ color: rgb(46, 47, 156);
/* oklch */ color: oklch(38.4% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#7768ba',
    500: '#2e2f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f9c;
$custom-light: #7768ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f9c",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 239.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38376,
    "c": 0.17158,
    "h": 274.3
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#2E2F9C
secondary
#BCBB6A
accent
#DC4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2E2F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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