#2C25A8#2C25A8

#2C25A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.197 H 274.0°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2C25A8
RGBrgb(44, 37, 168)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 66%)
CMYKcmyk(73.8%, 78%, 0%, 34.1%)
CIE-LABlab(25.82, 45.65, -68.07)
CIE-LCHlch(25.82, 81.96, 303.85°)
OKLaboklab(38.03% 0.0137 -0.1969)
OKLCHoklch(38.03% 0.197 274)
XYZxyz(8.7658, 4.6849, 37.4805)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25A8 #A1A825
analogous
#2560A8 #2C25A8 #6D25A8
triadic
#2C25A8 #A82C25 #25A82C
tetradic
#2C25A8 #A82560 #A1A825 #25A86D
square
#2C25A8 #A82560 #A1A825 #25A86D
split-complementary
#2C25A8 #A86D25 #60A825
monochromatic
#120F44 #1F1A76 #2C25A8 #4037D3 #7069DE

Accessibility & contrast

On white

10.84
#2C25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C25A8
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25A8#FFFFFF#000000##FFFFFF
##2C25A81.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c25a8;
/* rgb */ color: rgb(44, 37, 168);
/* oklch */ color: oklch(38.0% 0.197 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a62c3',
    500: '#2c25a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c25a8;
$custom-light: #7a62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25a8",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 243.206,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.19739,
    "h": 274
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#2C25A8
secondary
#BFC465
accent
#E741DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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