#2C269E#2C269E

#2C269E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.184 H 274.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2C269E
RGBrgb(44, 38, 158)
HSLhsl(243, 61%, 38%)
HSVhsv(243, 76%, 62%)
CMYKcmyk(72.2%, 75.9%, 0%, 38%)
CIE-LABlab(24.92, 41.84, -63.48)
CIE-LCHlch(24.92, 76.03, 303.39°)
OKLaboklab(37.08% 0.0154 -0.1836)
OKLCHoklch(37.08% 0.184 274.8)
XYZxyz(7.9013, 4.3896, 32.7720)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C269E #989E26
analogous
#265C9E #2C269E #68269E
triadic
#2C269E #9E2C26 #269E2C
tetradic
#2C269E #9E265C #989E26 #269E68
square
#2C269E #9E265C #989E26 #269E68
split-complementary
#2C269E #9E6826 #5C9E26
monochromatic
#110E3B #1E1A6D #2C269E #3B33CE #6A65DA

Accessibility & contrast

On white

11.18
#2C269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C269E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C269E#FFFFFF#000000##FFFFFF
##2C269E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c269e;
/* rgb */ color: rgb(44, 38, 158);
/* oklch */ color: oklch(37.1% 0.184 274.8);
Tailwind
colors: {
  custom: {
    50: '#7762bc',
    500: '#2c269e',
    950: '#000000',
  },
}
SCSS
$custom: #2c269e;
$custom-light: #7762bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c269e",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 243,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.18423,
    "h": 274.8
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#2C269E
secondary
#BBC060
accent
#E443DC
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C269E

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

Preview Lab → · Contrast checker → · Palette generator →

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