#2C267A#2C267A

#2C267A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.137 H 279.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2C267A
RGBrgb(44, 38, 122)
HSLhsl(244, 53%, 31%)
HSVhsv(244, 69%, 48%)
CMYKcmyk(63.9%, 68.9%, 0%, 52.2%)
CIE-LABlab(21.31, 29.54, -47.00)
CIE-LCHlch(21.31, 55.51, 302.15°)
OKLaboklab(33.4% 0.0218 -0.1354)
OKLCHoklch(33.4% 0.137 279.1)
XYZxyz(5.2436, 3.3264, 18.7743)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C267A #747A26
analogous
#264A7A #2C267A #56267A
triadic
#2C267A #7A2C26 #267A2C
tetradic
#2C267A #7A264A #747A26 #267A56
square
#2C267A #7A264A #747A26 #267A56
split-complementary
#2C267A #7A5626 #4A7A26
monochromatic
#0A091D #1B174B #2C267A #3D35A9 #5A51C9

Accessibility & contrast

On white

12.61
#2C267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C267A
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C267A#FFFFFF#000000##FFFFFF
##2C267A1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c267a;
/* rgb */ color: rgb(44, 38, 122);
/* oklch */ color: oklch(33.4% 0.137 279.1);
Tailwind
colors: {
  custom: {
    50: '#6f61a1',
    500: '#2c267a',
    950: '#000000',
  },
}
SCSS
$custom: #2c267a;
$custom-light: #6f61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c267a",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 244.286,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33402,
    "c": 0.13715,
    "h": 279.1
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#2C267A
secondary
#A6AC50
accent
#DC4CD2
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2C267A

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

Preview Lab → · Contrast checker → · Palette generator →

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