#2B279F#2B279F

#2B279F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.185 H 274.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2B279F
RGBrgb(43, 39, 159)
HSLhsl(242, 61%, 39%)
HSVhsv(242, 75%, 62%)
CMYKcmyk(73%, 75.5%, 0%, 37.6%)
CIE-LABlab(25.16, 41.51, -63.70)
CIE-LCHlch(25.16, 76.03, 303.09°)
OKLaboklab(37.26% 0.0134 -0.1842)
OKLCHoklch(37.26% 0.185 274.2)
XYZxyz(7.9777, 4.4670, 33.2360)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B279F #9B9F27
analogous
#275F9F #2B279F #67279F
triadic
#2B279F #9F2B27 #279F2B
tetradic
#2B279F #9F275F #9B9F27 #279F67
square
#2B279F #9F275F #9B9F27 #279F67
split-complementary
#2B279F #9F6727 #5F9F27
monochromatic
#100F3D #1E1B6E #2B279F #3B36CE #6B67DA

Accessibility & contrast

On white

11.09
#2B279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B279F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B279F#FFFFFF#000000##FFFFFF
##2B279F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.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: #2b279f;
/* rgb */ color: rgb(43, 39, 159);
/* oklch */ color: oklch(37.3% 0.185 274.2);
Tailwind
colors: {
  custom: {
    50: '#7763bd',
    500: '#2b279f',
    950: '#000000',
  },
}
SCSS
$custom: #2b279f;
$custom-light: #7763bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b279f",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 242,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37261,
    "c": 0.18473,
    "h": 274.2
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#2B279F
secondary
#BCC062
accent
#E444DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B279F

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

Preview Lab → · Contrast checker → · Palette generator →

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