#2D279F#2D279F

#2D279F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.184 H 275.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2D279F
RGBrgb(45, 39, 159)
HSLhsl(243, 61%, 39%)
HSVhsv(243, 75%, 62%)
CMYKcmyk(71.7%, 75.5%, 0%, 37.6%)
CIE-LABlab(25.29, 41.71, -63.47)
CIE-LCHlch(25.29, 75.95, 303.31°)
OKLaboklab(37.39% 0.016 -0.1835)
OKLCHoklch(37.39% 0.184 275)
XYZxyz(8.0636, 4.5114, 33.2400)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D279F #999F27
analogous
#275D9F #2D279F #69279F
triadic
#2D279F #9F2D27 #279F2D
tetradic
#2D279F #9F275D #999F27 #279F69
square
#2D279F #9F275D #999F27 #279F69
split-complementary
#2D279F #9F6927 #5D9F27
monochromatic
#110F3D #1F1B6E #2D279F #3D36CE #6C67DA

Accessibility & contrast

On white

11.04
#2D279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D279F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D279F#FFFFFF#000000##FFFFFF
##2D279F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d279f;
/* rgb */ color: rgb(45, 39, 159);
/* oklch */ color: oklch(37.4% 0.184 275.0);
Tailwind
colors: {
  custom: {
    50: '#7863bd',
    500: '#2d279f',
    950: '#000000',
  },
}
SCSS
$custom: #2d279f;
$custom-light: #7863bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d279f",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 243,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.18423,
    "h": 275
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2D279F
secondary
#BBC062
accent
#E444DC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2D279F

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

Preview Lab → · Contrast checker → · Palette generator →

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