#2F26BC#2F26BC

#2F26BC is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.219 H 273.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2F26BC
RGBrgb(47, 38, 188)
HSLhsl(244, 66%, 44%)
HSVhsv(244, 80%, 74%)
CMYKcmyk(75%, 79.8%, 0%, 26.3%)
CIE-LABlab(28.43, 51.69, -75.69)
CIE-LCHlch(28.43, 91.65, 304.33°)
OKLaboklab(40.57% 0.0125 -0.219)
OKLCHoklch(40.57% 0.219 273.3)
XYZxyz(10.9395, 5.6203, 48.0755)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26BC #B3BC26
analogous
#2668BC #2F26BC #7A26BC
triadic
#2F26BC #BC2F26 #26BC2F
tetradic
#2F26BC #BC2668 #B3BC26 #26BC7A
square
#2F26BC #BC2668 #B3BC26 #26BC7A
split-complementary
#2F26BC #BC7A26 #68BC26
monochromatic
#161156 #221C89 #2F26BC #4F46DA #7F79E4

Accessibility & contrast

On white

9.89
#2F26BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F26BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26BC
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26BC#FFFFFF#000000##FFFFFF
##2F26BC1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC0
Deuteranopia (green-blind)
#003CB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f26bc;
/* rgb */ color: rgb(47, 38, 188);
/* oklch */ color: oklch(40.6% 0.219 273.3);
Tailwind
colors: {
  custom: {
    50: '#7f64d2',
    500: '#2f26bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f26bc;
$custom-light: #7f64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26bc",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 243.6,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4057,
    "c": 0.21932,
    "h": 273.3
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#2F26BC
secondary
#C6CC72
accent
#E93FDF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F26BC

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

Preview Lab → · Contrast checker → · Palette generator →

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