#2E267A#2E267A

#2E267A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.137 H 280.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#2E267A
RGBrgb(46, 38, 122)
HSLhsl(246, 53%, 31%)
HSVhsv(246, 69%, 48%)
CMYKcmyk(62.3%, 68.9%, 0%, 52.2%)
CIE-LABlab(21.48, 29.87, -46.71)
CIE-LCHlch(21.48, 55.45, 302.60°)
OKLaboklab(33.57% 0.0246 -0.1345)
OKLCHoklch(33.57% 0.137 280.4)
XYZxyz(5.3316, 3.3718, 18.7785)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E267A #727A26
analogous
#26487A #2E267A #58267A
triadic
#2E267A #7A2E26 #267A2E
tetradic
#2E267A #7A2648 #727A26 #267A58
square
#2E267A #7A2648 #727A26 #267A58
split-complementary
#2E267A #7A5826 #487A26
monochromatic
#0B091D #1C174B #2E267A #4035A9 #5D51C9

Accessibility & contrast

On white

12.54
#2E267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E267A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E267A#FFFFFF#000000##FFFFFF
##2E267A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e267a;
/* rgb */ color: rgb(46, 38, 122);
/* oklch */ color: oklch(33.6% 0.137 280.4);
Tailwind
colors: {
  custom: {
    50: '#7061a1',
    500: '#2e267a',
    950: '#000000',
  },
}
SCSS
$custom: #2e267a;
$custom-light: #7061a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e267a",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 245.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.13675,
    "h": 280.4
  },
  "luminance": 0.03372
}

Semantic roles & 50–950 ramp

primary
#2E267A
secondary
#A3AC50
accent
#DC4CCE
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E267A

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

Preview Lab → · Contrast checker → · Palette generator →

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