#2C265E#2C265E

#2C265E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.096 H 284.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#2C265E
RGBrgb(44, 38, 94)
HSLhsl(246, 42%, 26%)
HSVhsv(246, 60%, 37%)
CMYKcmyk(53.2%, 59.6%, 0%, 63.1%)
CIE-LABlab(18.93, 19.69, -32.69)
CIE-LCHlch(18.93, 38.17, 301.06°)
OKLaboklab(30.91% 0.0235 -0.0934)
OKLCHoklch(30.91% 0.096 284.1)
XYZxyz(3.7516, 2.7297, 10.9167)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C265E #585E26
analogous
#263C5E #2C265E #48265E
triadic
#2C265E #5E2C26 #265E2C
tetradic
#2C265E #5E263C #585E26 #265E48
square
#2C265E #5E263C #585E26 #265E48
split-complementary
#2C265E #5E4826 #3C5E26
monochromatic
#0A0916 #181432 #2C265E #40388A #5549B5

Accessibility & contrast

On white

13.58
#2C265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2C265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C265E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C265E#FFFFFF#000000##FFFFFF
##2C265E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043060
Deuteranopia (green-blind)
#012C5D
Tritanopia (blue-blind)
#1A333E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c265e;
/* rgb */ color: rgb(44, 38, 94);
/* oklch */ color: oklch(30.9% 0.096 284.1);
Tailwind
colors: {
  custom: {
    50: '#6a608c',
    500: '#2c265e',
    950: '#000000',
  },
}
SCSS
$custom: #2c265e;
$custom-light: #6a608c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c265e",
  "rgb": {
    "r": 44,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 246.429,
    "s": 42.424,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.09628,
    "h": 284.1
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#2C265E
secondary
#8A914F
accent
#D256C5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2C265E

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

Preview Lab → · Contrast checker → · Palette generator →

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