#2B27AF#2B27AF

#2B27AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.204 H 272.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2B27AF
RGBrgb(43, 39, 175)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 69%)
CMYKcmyk(75.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(26.90, 46.77, -70.49)
CIE-LCHlch(26.90, 84.59, 303.57°)
OKLaboklab(39.01% 0.0101 -0.204)
OKLCHoklch(39.01% 0.204 272.8)
XYZxyz(9.4571, 5.0588, 41.0272)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B27AF #ABAF27
analogous
#2767AF #2B27AF #6F27AF
triadic
#2B27AF #AF2B27 #27AF2B
tetradic
#2B27AF #AF2767 #ABAF27 #27AF6F
square
#2B27AF #AF2767 #ABAF27 #27AF6F
split-complementary
#2B27AF #AF6F27 #67AF27
monochromatic
#12114B #1F1C7D #2B27AF #433FD4 #7471DF

Accessibility & contrast

On white

10.44
#2B27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B27AF
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B27AF#FFFFFF#000000##FFFFFF
##2B27AF1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b27af;
/* rgb */ color: rgb(43, 39, 175);
/* oklch */ color: oklch(39.0% 0.204 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b64c8',
    500: '#2b27af',
    950: '#000000',
  },
}
SCSS
$custom: #2b27af;
$custom-light: #7b64c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b27af",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 241.765,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.20423,
    "h": 272.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#2B27AF
secondary
#C4C66B
accent
#E741E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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