#2C2C90#2C2C90

#2C2C90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.160 H 275.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2C2C90
RGBrgb(44, 44, 144)
HSLhsl(240, 53%, 37%)
HSVhsv(240, 69%, 56%)
CMYKcmyk(69.4%, 69.4%, 0%, 43.5%)
CIE-LABlab(24.80, 33.46, -55.08)
CIE-LCHlch(24.80, 64.45, 301.27°)
OKLaboklab(36.56% 0.0142 -0.1591)
OKLCHoklch(36.56% 0.16 275.1)
XYZxyz(6.9718, 4.3498, 26.8523)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C90 #90902C
analogous
#2C5E90 #2C2C90 #5E2C90
triadic
#2C2C90 #902C2C #2C902C
tetradic
#2C2C90 #902C5E #90902C #2C905E
square
#2C2C90 #902C5E #90902C #2C905E
split-complementary
#2C2C90 #905E2C #5E902C
monochromatic
#0F0F32 #1E1E61 #2C2C90 #3A3ABF #6666D0

Accessibility & contrast

On white

11.23
#2C2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C90
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C90#FFFFFF#000000##FFFFFF
##2C2C901.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2c90;
/* rgb */ color: rgb(44, 44, 144);
/* oklch */ color: oklch(36.6% 0.160 275.1);
Tailwind
colors: {
  custom: {
    50: '#7366b1',
    500: '#2c2c90',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c90;
$custom-light: #7366b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c90",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.15972,
    "h": 275.1
  },
  "luminance": 0.0435
}

Semantic roles & 50–950 ramp

primary
#2C2C90
secondary
#B7B761
accent
#DD4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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