#2C269B#2C269B

#2C269B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.180 H 275.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2C269B
RGBrgb(44, 38, 155)
HSLhsl(243, 61%, 38%)
HSVhsv(243, 75%, 61%)
CMYKcmyk(71.6%, 75.5%, 0%, 39.2%)
CIE-LABlab(24.60, 40.84, -62.18)
CIE-LCHlch(24.60, 74.39, 303.30°)
OKLaboklab(36.76% 0.016 -0.1798)
OKLCHoklch(36.76% 0.18 275.1)
XYZxyz(7.6463, 4.2875, 31.4286)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C269B #959B26
analogous
#265A9B #2C269B #66269B
triadic
#2C269B #9B2C26 #269B2C
tetradic
#2C269B #9B265A #959B26 #269B66
square
#2C269B #9B265A #959B26 #269B66
split-complementary
#2C269B #9B6626 #5A9B26
monochromatic
#100E39 #1E1A6A #2C269B #3A32CC #6963D9

Accessibility & contrast

On white

11.30
#2C269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C269B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C269B#FFFFFF#000000##FFFFFF
##2C269B1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c269b;
/* rgb */ color: rgb(44, 38, 155);
/* oklch */ color: oklch(36.8% 0.180 275.1);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2c269b',
    950: '#000000',
  },
}
SCSS
$custom: #2c269b;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c269b",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 243.077,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.18049,
    "h": 275.1
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#2C269B
secondary
#B9BE5F
accent
#E444DC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C269B

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

Preview Lab → · Contrast checker → · Palette generator →

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