#2C267F#2C267F

#2C267F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.144 H 278.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2C267F
RGBrgb(44, 38, 127)
HSLhsl(244, 54%, 32%)
HSVhsv(244, 70%, 50%)
CMYKcmyk(65.4%, 70.1%, 0%, 50.2%)
CIE-LABlab(21.78, 31.28, -49.40)
CIE-LCHlch(21.78, 58.47, 302.34°)
OKLaboklab(33.89% 0.0211 -0.1425)
OKLCHoklch(33.89% 0.144 278.4)
XYZxyz(5.5614, 3.4536, 20.4481)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C267F #797F26
analogous
#264D7F #2C267F #59267F
triadic
#2C267F #7F2C26 #267F2C
tetradic
#2C267F #7F264D #797F26 #267F59
square
#2C267F #7F264D #797F26 #267F59
split-complementary
#2C267F #7F5926 #4D7F26
monochromatic
#0B0A21 #1C1850 #2C267F #3C34AE #5C54CC

Accessibility & contrast

On white

12.42
#2C267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C267F
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C267F#FFFFFF#000000##FFFFFF
##2C267F1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c267f;
/* rgb */ color: rgb(44, 38, 127);
/* oklch */ color: oklch(33.9% 0.144 278.4);
Tailwind
colors: {
  custom: {
    50: '#7061a5',
    500: '#2c267f',
    950: '#000000',
  },
}
SCSS
$custom: #2c267f;
$custom-light: #7061a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c267f",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 244.045,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33886,
    "c": 0.14401,
    "h": 278.4
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#2C267F
secondary
#AAB051
accent
#DD4AD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2C267F

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

Preview Lab → · Contrast checker → · Palette generator →

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