#2C267E#2C267E

#2C267E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.143 H 278.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#2C267E
RGBrgb(44, 38, 126)
HSLhsl(244, 54%, 32%)
HSVhsv(244, 70%, 49%)
CMYKcmyk(65.1%, 69.8%, 0%, 50.6%)
CIE-LABlab(21.68, 30.94, -48.92)
CIE-LCHlch(21.68, 57.88, 302.31°)
OKLaboklab(33.79% 0.0212 -0.1411)
OKLCHoklch(33.79% 0.143 278.6)
XYZxyz(5.4965, 3.4276, 20.1066)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C267E #787E26
analogous
#264C7E #2C267E #58267E
triadic
#2C267E #7E2C26 #267E2C
tetradic
#2C267E #7E264C #787E26 #267E58
square
#2C267E #7E264C #787E26 #267E58
split-complementary
#2C267E #7E5826 #4C7E26
monochromatic
#0B0A20 #1C184F #2C267E #3C34AD #5B53CB

Accessibility & contrast

On white

12.46
#2C267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C267E
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C267E#FFFFFF#000000##FFFFFF
##2C267E1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c267e;
/* rgb */ color: rgb(44, 38, 126);
/* oklch */ color: oklch(33.8% 0.143 278.6);
Tailwind
colors: {
  custom: {
    50: '#7061a4',
    500: '#2c267e',
    950: '#000000',
  },
}
SCSS
$custom: #2c267e;
$custom-light: #7061a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c267e",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 244.091,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.14265,
    "h": 278.6
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#2C267E
secondary
#A9B050
accent
#DD4BD3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2C267E

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

Preview Lab → · Contrast checker → · Palette generator →

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