#2F26AC#2F26AC

#2F26AC is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.201 H 274.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2F26AC
RGBrgb(47, 38, 172)
HSLhsl(244, 64%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(72.7%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.64, 46.67, -69.10)
CIE-LCHlch(26.64, 83.39, 304.03°)
OKLaboklab(38.8% 0.0162 -0.1999)
OKLCHoklch(38.8% 0.201 274.6)
XYZxyz(9.3093, 4.9682, 39.4901)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26AC #A3AC26
analogous
#2660AC #2F26AC #7226AC
triadic
#2F26AC #AC2F26 #26AC2F
tetradic
#2F26AC #AC2660 #A3AC26 #26AC72
square
#2F26AC #AC2660 #A3AC26 #26AC72
split-complementary
#2F26AC #AC7226 #60AC26
monochromatic
#141048 #211B7A #2F26AC #463BD4 #756EDF

Accessibility & contrast

On white

10.53
#2F26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2F26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26AC
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26AC#FFFFFF#000000##FFFFFF
##2F26AC1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f26ac;
/* rgb */ color: rgb(47, 38, 172);
/* oklch */ color: oklch(38.8% 0.201 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c6',
    500: '#2f26ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f26ac;
$custom-light: #7c63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26ac",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 244.03,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.20052,
    "h": 274.6
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#2F26AC
secondary
#BFC568
accent
#E741DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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