#2B27B3#2B27B3

#2B27B3 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.209 H 272.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2B27B3
RGBrgb(43, 39, 179)
HSLhsl(242, 64%, 43%)
HSVhsv(242, 78%, 70%)
CMYKcmyk(76%, 78.2%, 0%, 29.8%)
CIE-LABlab(27.35, 48.06, -72.14)
CIE-LCHlch(27.35, 86.68, 303.67°)
OKLaboklab(39.45% 0.0093 -0.2088)
OKLCHoklch(39.45% 0.209 272.5)
XYZxyz(9.8557, 5.2183, 43.1269)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B27B3 #AFB327
analogous
#2769B3 #2B27B3 #7127B3
triadic
#2B27B3 #B32B27 #27B32B
tetradic
#2B27B3 #B32769 #AFB327 #27B371
square
#2B27B3 #B32769 #AFB327 #27B371
split-complementary
#2B27B3 #B37127 #69B327
monochromatic
#13114E #1F1C81 #2B27B3 #4641D6 #7774E1

Accessibility & contrast

On white

10.27
#2B27B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B27B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B27B3
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B27B3#FFFFFF#000000##FFFFFF
##2B27B31.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b27b3;
/* rgb */ color: rgb(43, 39, 179);
/* oklch */ color: oklch(39.4% 0.209 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c64cb',
    500: '#2b27b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b27b3;
$custom-light: #7c64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b27b3",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 241.714,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.20899,
    "h": 272.5
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#2B27B3
secondary
#C5C86E
accent
#E741E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B27B3

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

Preview Lab → · Contrast checker → · Palette generator →

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