#2E267B#2E267B

#2E267B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.138 H 280.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2E267B
RGBrgb(46, 38, 123)
HSLhsl(246, 53%, 32%)
HSVhsv(246, 69%, 48%)
CMYKcmyk(62.6%, 69.1%, 0%, 51.8%)
CIE-LABlab(21.57, 30.21, -47.20)
CIE-LCHlch(21.57, 56.04, 302.62°)
OKLaboklab(33.66% 0.0245 -0.1359)
OKLCHoklch(33.66% 0.138 280.2)
XYZxyz(5.3938, 3.3967, 19.1065)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E267B #737B26
analogous
#26497B #2E267B #59267B
triadic
#2E267B #7B2E26 #267B2E
tetradic
#2E267B #7B2649 #737B26 #267B59
square
#2E267B #7B2649 #737B26 #267B59
split-complementary
#2E267B #7B5926 #497B26
monochromatic
#0B091D #1D184C #2E267B #3F34AA #5D52CA

Accessibility & contrast

On white

12.50
#2E267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E267B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E267B#FFFFFF#000000##FFFFFF
##2E267B1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e267b;
/* rgb */ color: rgb(46, 38, 123);
/* oklch */ color: oklch(33.7% 0.138 280.2);
Tailwind
colors: {
  custom: {
    50: '#7061a2',
    500: '#2e267b',
    950: '#000000',
  },
}
SCSS
$custom: #2e267b;
$custom-light: #7061a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e267b",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 245.647,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33662,
    "c": 0.13812,
    "h": 280.2
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#2E267B
secondary
#A4AD50
accent
#DC4CCF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E267B

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

Preview Lab → · Contrast checker → · Palette generator →

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