#2C258F#2C258F

#2C258F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.166 H 276.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2C258F
RGBrgb(44, 37, 143)
HSLhsl(244, 59%, 35%)
HSVhsv(244, 74%, 56%)
CMYKcmyk(69.2%, 74.1%, 0%, 43.9%)
CIE-LABlab(23.14, 37.39, -57.19)
CIE-LCHlch(23.14, 68.33, 303.18°)
OKLaboklab(35.34% 0.0191 -0.1652)
OKLCHoklch(35.34% 0.166 276.6)
XYZxyz(6.6566, 3.8412, 26.3719)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C258F #888F25
analogous
#25538F #2C258F #61258F
triadic
#2C258F #8F2C25 #258F2C
tetradic
#2C258F #8F2553 #888F25 #258F61
square
#2C258F #8F2553 #888F25 #258F61
split-complementary
#2C258F #8F6125 #538F25
monochromatic
#0E0C2E #1D185E #2C258F #3B32C0 #625AD4

Accessibility & contrast

On white

11.88
#2C258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C258F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C258F#FFFFFF#000000##FFFFFF
##2C258F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c258f;
/* rgb */ color: rgb(44, 37, 143);
/* oklch */ color: oklch(35.3% 0.166 276.6);
Tailwind
colors: {
  custom: {
    50: '#7461b1',
    500: '#2c258f',
    950: '#000000',
  },
}
SCSS
$custom: #2c258f;
$custom-light: #7461b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c258f",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 243.962,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.16632,
    "h": 276.6
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#2C258F
secondary
#B3B957
accent
#E246D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C258F

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

Preview Lab → · Contrast checker → · Palette generator →

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