#2C267D#2C267D

#2C267D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.141 H 278.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2C267D
RGBrgb(44, 38, 125)
HSLhsl(244, 53%, 32%)
HSVhsv(244, 70%, 49%)
CMYKcmyk(64.8%, 69.6%, 0%, 51%)
CIE-LABlab(21.59, 30.59, -48.44)
CIE-LCHlch(21.59, 57.29, 302.27°)
OKLaboklab(33.69% 0.0214 -0.1397)
OKLCHoklch(33.69% 0.141 278.7)
XYZxyz(5.4323, 3.4019, 19.7684)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C267D #777D26
analogous
#264C7D #2C267D #58267D
triadic
#2C267D #7D2C26 #267D2C
tetradic
#2C267D #7D264C #777D26 #267D58
square
#2C267D #7D264C #777D26 #267D58
split-complementary
#2C267D #7D5826 #4C7D26
monochromatic
#0B091F #1B184E #2C267D #3D34AC #5B53CB

Accessibility & contrast

On white

12.50
#2C267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C267D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C267D#FFFFFF#000000##FFFFFF
##2C267D1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c267d;
/* rgb */ color: rgb(44, 38, 125);
/* oklch */ color: oklch(33.7% 0.141 278.7);
Tailwind
colors: {
  custom: {
    50: '#7061a3',
    500: '#2c267d',
    950: '#000000',
  },
}
SCSS
$custom: #2c267d;
$custom-light: #7061a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c267d",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 244.138,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33691,
    "c": 0.14129,
    "h": 278.7
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C267D

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

Preview Lab → · Contrast checker → · Palette generator →

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