#2C249E#2C249E

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

Color values

HEX#2C249E
RGBrgb(44, 36, 158)
HSLhsl(244, 63%, 38%)
HSVhsv(244, 77%, 62%)
CMYKcmyk(72.2%, 77.2%, 0%, 38%)
CIE-LABlab(24.53, 42.95, -64.13)
CIE-LCHlch(24.53, 77.18, 303.81°)
OKLaboklab(36.8% 0.0164 -0.1854)
OKLCHoklch(36.8% 0.186 275.1)
XYZxyz(7.8391, 4.2651, 32.7512)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C249E #969E24
analogous
#24599E #2C249E #69249E
triadic
#2C249E #9E2C24 #249E2C
tetradic
#2C249E #9E2459 #969E24 #249E69
square
#2C249E #9E2459 #969E24 #249E69
split-complementary
#2C249E #9E6924 #599E24
monochromatic
#100D3A #1E196C #2C249E #3A2FD0 #6961DB

Accessibility & contrast

On white

11.33
#2C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C249E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C249E#FFFFFF#000000##FFFFFF
##2C249E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c249e;
/* rgb */ color: rgb(44, 36, 158);
/* oklch */ color: oklch(36.8% 0.186 275.1);
Tailwind
colors: {
  custom: {
    50: '#7761bc',
    500: '#2c249e',
    950: '#000000',
  },
}
SCSS
$custom: #2c249e;
$custom-light: #7761bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c249e",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 243.934,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.18617,
    "h": 275.1
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#2C249E
secondary
#BAC05E
accent
#E642DB
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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