#2F26C1#2F26C1

#2F26C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.225 H 272.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2F26C1
RGBrgb(47, 38, 193)
HSLhsl(243, 67%, 45%)
HSVhsv(243, 80%, 76%)
CMYKcmyk(75.6%, 80.3%, 0%, 24.3%)
CIE-LABlab(29.00, 53.23, -77.69)
CIE-LCHlch(29.00, 94.18, 304.42°)
OKLaboklab(41.13% 0.0113 -0.2248)
OKLCHoklch(41.13% 0.225 272.9)
XYZxyz(11.4878, 5.8396, 50.9635)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26C1 #B8C126
analogous
#266AC1 #2F26C1 #7D26C1
triadic
#2F26C1 #C12F26 #26C12F
tetradic
#2F26C1 #C1266A #B8C126 #26C17D
square
#2F26C1 #C1266A #B8C126 #26C17D
split-complementary
#2F26C1 #C17D26 #6AC126
monochromatic
#16125B #231C8E #2F26C1 #5249DB #827CE5

Accessibility & contrast

On white

9.69
#2F26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F26C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26C1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26C1#FFFFFF#000000##FFFFFF
##2F26C11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC5
Deuteranopia (green-blind)
#003DBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f26c1;
/* rgb */ color: rgb(47, 38, 193);
/* oklch */ color: oklch(41.1% 0.225 272.9);
Tailwind
colors: {
  custom: {
    50: '#8165d5',
    500: '#2f26c1',
    950: '#000000',
  },
}
SCSS
$custom: #2f26c1;
$custom-light: #8165d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26c1",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 243.484,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.22507,
    "h": 272.9
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#2F26C1
secondary
#C8CD75
accent
#EA3EE0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F26C1

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

Preview Lab → · Contrast checker → · Palette generator →

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