#2C266A#2C266A

#2C266A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.114 H 281.7°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2C266A
RGBrgb(44, 38, 106)
HSLhsl(245, 47%, 28%)
HSVhsv(245, 64%, 42%)
CMYKcmyk(58.5%, 64.2%, 0%, 58.4%)
CIE-LABlab(19.89, 23.91, -39.01)
CIE-LCHlch(19.89, 45.75, 301.50°)
OKLaboklab(31.93% 0.0233 -0.1119)
OKLCHoklch(31.93% 0.114 281.7)
XYZxyz(4.3325, 2.9620, 13.9763)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C266A #646A26
analogous
#26426A #2C266A #4E266A
triadic
#2C266A #6A2C26 #266A2C
tetradic
#2C266A #6A2642 #646A26 #266A4E
square
#2C266A #6A2642 #646A26 #266A4E
split-complementary
#2C266A #6A4E26 #426A26
monochromatic
#090817 #19163D #2C266A #3F3697 #564CBF

Accessibility & contrast

On white

13.19
#2C266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2C266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C266A
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C266A#FFFFFF#000000##FFFFFF
##2C266A1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#0E3644
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c266a;
/* rgb */ color: rgb(44, 38, 106);
/* oklch */ color: oklch(31.9% 0.114 281.7);
Tailwind
colors: {
  custom: {
    50: '#6c6095',
    500: '#2c266a',
    950: '#000000',
  },
}
SCSS
$custom: #2c266a;
$custom-light: #6c6095;
$custom-dark: #000000;
JSON
{
  "hex": "#2c266a",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 245.294,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.11434,
    "h": 281.7
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#2C266A
secondary
#969D4F
accent
#D751CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2C266A

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

Preview Lab → · Contrast checker → · Palette generator →

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