#2C267C#2C267C

#2C267C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.140 H 278.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2C267C
RGBrgb(44, 38, 124)
HSLhsl(244, 53%, 32%)
HSVhsv(244, 69%, 49%)
CMYKcmyk(64.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(21.49, 30.24, -47.96)
CIE-LCHlch(21.49, 56.70, 302.23°)
OKLaboklab(33.59% 0.0215 -0.1383)
OKLCHoklch(33.59% 0.14 278.8)
XYZxyz(5.3687, 3.3765, 19.4337)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C267C #767C26
analogous
#264B7C #2C267C #57267C
triadic
#2C267C #7C2C26 #267C2C
tetradic
#2C267C #7C264B #767C26 #267C57
square
#2C267C #7C264B #767C26 #267C57
split-complementary
#2C267C #7C5726 #4B7C26
monochromatic
#0B091E #1B184D #2C267C #3D34AB #5B52CA

Accessibility & contrast

On white

12.53
#2C267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C267C
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C267C#FFFFFF#000000##FFFFFF
##2C267C1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c267c;
/* rgb */ color: rgb(44, 38, 124);
/* oklch */ color: oklch(33.6% 0.140 278.8);
Tailwind
colors: {
  custom: {
    50: '#7061a3',
    500: '#2c267c',
    950: '#000000',
  },
}
SCSS
$custom: #2c267c;
$custom-light: #7061a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c267c",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 244.186,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33594,
    "c": 0.13991,
    "h": 278.8
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#2C267C
secondary
#A7AE50
accent
#DC4BD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2C267C

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

Preview Lab → · Contrast checker → · Palette generator →

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