#2C258E#2C258E

#2C258E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.165 H 276.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2C258E
RGBrgb(44, 37, 142)
HSLhsl(244, 59%, 35%)
HSVhsv(244, 74%, 56%)
CMYKcmyk(69%, 73.9%, 0%, 44.3%)
CIE-LABlab(23.04, 37.06, -56.74)
CIE-LCHlch(23.04, 67.76, 303.15°)
OKLaboklab(35.24% 0.0193 -0.1639)
OKLCHoklch(35.24% 0.165 276.7)
XYZxyz(6.5812, 3.8110, 25.9747)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C258E #878E25
analogous
#25528E #2C258E #60258E
triadic
#2C258E #8E2C25 #258E2C
tetradic
#2C258E #8E2552 #878E25 #258E60
square
#2C258E #8E2552 #878E25 #258E60
split-complementary
#2C258E #8E6025 #528E25
monochromatic
#0E0C2D #1D185D #2C258E #3B32BF #625AD4

Accessibility & contrast

On white

11.92
#2C258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C258E
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C258E#FFFFFF#000000##FFFFFF
##2C258E1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c258e;
/* rgb */ color: rgb(44, 37, 142);
/* oklch */ color: oklch(35.2% 0.165 276.7);
Tailwind
colors: {
  custom: {
    50: '#7461b0',
    500: '#2c258e',
    950: '#000000',
  },
}
SCSS
$custom: #2c258e;
$custom-light: #7461b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c258e",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 244,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.16503,
    "h": 276.7
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#2C258E
secondary
#B2B956
accent
#E246D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C258E

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

Preview Lab → · Contrast checker → · Palette generator →

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