#2C266F#2C266F

#2C266F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.122 H 280.9°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2C266F
RGBrgb(44, 38, 111)
HSLhsl(245, 49%, 29%)
HSVhsv(245, 66%, 44%)
CMYKcmyk(60.4%, 65.8%, 0%, 56.5%)
CIE-LABlab(20.32, 25.67, -41.55)
CIE-LCHlch(20.32, 48.84, 301.70°)
OKLaboklab(32.38% 0.0229 -0.1194)
OKLCHoklch(32.38% 0.122 280.9)
XYZxyz(4.6002, 3.0691, 15.3858)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C266F #696F26
analogous
#26456F #2C266F #51266F
triadic
#2C266F #6F2C26 #266F2C
tetradic
#2C266F #6F2645 #696F26 #266F51
square
#2C266F #6F2645 #696F26 #266F51
split-complementary
#2C266F #6F5126 #456F26
monochromatic
#090817 #1A1641 #2C266F #3E369D #574DC2

Accessibility & contrast

On white

13.01
#2C266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C266F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C266F#FFFFFF#000000##FFFFFF
##2C266F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#063846
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c266f;
/* rgb */ color: rgb(44, 38, 111);
/* oklch */ color: oklch(32.4% 0.122 280.9);
Tailwind
colors: {
  custom: {
    50: '#6d6099',
    500: '#2c266f',
    950: '#000000',
  },
}
SCSS
$custom: #2c266f;
$custom-light: #6d6099;
$custom-dark: #000000;
JSON
{
  "hex": "#2c266f",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 244.932,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32377,
    "c": 0.12162,
    "h": 280.9
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#2C266F
secondary
#9BA24F
accent
#D94FCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #2C266F

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

Preview Lab → · Contrast checker → · Palette generator →

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