#2C268F#2C268F

#2C268F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.165 H 276.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#2C268F
RGBrgb(44, 38, 143)
HSLhsl(243, 58%, 35%)
HSVhsv(243, 73%, 56%)
CMYKcmyk(69.2%, 73.4%, 0%, 43.9%)
CIE-LABlab(23.35, 36.80, -56.84)
CIE-LCHlch(23.35, 67.71, 302.92°)
OKLaboklab(35.5% 0.0184 -0.1642)
OKLCHoklch(35.5% 0.165 276.4)
XYZxyz(6.6881, 3.9043, 26.3824)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C268F #898F26
analogous
#26548F #2C268F #61268F
triadic
#2C268F #8F2C26 #268F2C
tetradic
#2C268F #8F2654 #898F26 #268F61
square
#2C268F #8F2654 #898F26 #268F61
split-complementary
#2C268F #8F6126 #548F26
monochromatic
#0E0C2E #1D195F #2C268F #3B33BF #635CD4

Accessibility & contrast

On white

11.79
#2C268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C268F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C268F#FFFFFF#000000##FFFFFF
##2C268F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c268f;
/* rgb */ color: rgb(44, 38, 143);
/* oklch */ color: oklch(35.5% 0.165 276.4);
Tailwind
colors: {
  custom: {
    50: '#7462b1',
    500: '#2c268f',
    950: '#000000',
  },
}
SCSS
$custom: #2c268f;
$custom-light: #7462b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c268f",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 243.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.16523,
    "h": 276.4
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#2C268F
secondary
#B3B958
accent
#E147D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C268F

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

Preview Lab → · Contrast checker → · Palette generator →

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