#2D279C#2D279C

#2D279C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.180 H 275.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2D279C
RGBrgb(45, 39, 156)
HSLhsl(243, 60%, 38%)
HSVhsv(243, 75%, 61%)
CMYKcmyk(71.2%, 75%, 0%, 38.8%)
CIE-LABlab(24.98, 40.71, -62.16)
CIE-LCHlch(24.98, 74.31, 303.22°)
OKLaboklab(37.08% 0.0166 -0.1797)
OKLCHoklch(37.08% 0.18 275.3)
XYZxyz(7.8065, 4.4085, 31.8856)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D279C #969C27
analogous
#275B9C #2D279C #67279C
triadic
#2D279C #9C2D27 #279C2D
tetradic
#2D279C #9C275B #969C27 #279C67
square
#2D279C #9C275B #969C27 #279C67
split-complementary
#2D279C #9C6727 #5B9C27
monochromatic
#110F3A #1F1B6B #2D279C #3C34CC #6B65D8

Accessibility & contrast

On white

11.16
#2D279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D279C
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D279C#FFFFFF#000000##FFFFFF
##2D279C1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d279c;
/* rgb */ color: rgb(45, 39, 156);
/* oklch */ color: oklch(37.1% 0.180 275.3);
Tailwind
colors: {
  custom: {
    50: '#7763ba',
    500: '#2d279c',
    950: '#000000',
  },
}
SCSS
$custom: #2d279c;
$custom-light: #7763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d279c",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 243.077,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37075,
    "c": 0.18048,
    "h": 275.3
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#2D279C
secondary
#B9BE61
accent
#E345DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D279C

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

Preview Lab → · Contrast checker → · Palette generator →

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