#2F26B7#2F26B7

#2F26B7 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.214 H 273.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2F26B7
RGBrgb(47, 38, 183)
HSLhsl(244, 66%, 43%)
HSVhsv(244, 79%, 72%)
CMYKcmyk(74.3%, 79.2%, 0%, 28.2%)
CIE-LABlab(27.87, 50.14, -73.66)
CIE-LCHlch(27.87, 89.10, 304.24°)
OKLaboklab(40.01% 0.0137 -0.2131)
OKLCHoklch(40.01% 0.214 273.7)
XYZxyz(10.4098, 5.4084, 45.2859)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26B7 #AEB726
analogous
#2665B7 #2F26B7 #7726B7
triadic
#2F26B7 #B72F26 #26B72F
tetradic
#2F26B7 #B72665 #AEB726 #26B777
square
#2F26B7 #B72665 #AEB726 #26B777
split-complementary
#2F26B7 #B77726 #65B726
monochromatic
#151152 #221B84 #2F26B7 #4C42D8 #7C75E2

Accessibility & contrast

On white

10.09
#2F26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2F26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26B7
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26B7#FFFFFF#000000##FFFFFF
##2F26B71.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003BB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f26b7;
/* rgb */ color: rgb(47, 38, 183);
/* oklch */ color: oklch(40.0% 0.214 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e64ce',
    500: '#2f26b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f26b7;
$custom-light: #7e64ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26b7",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 243.724,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.21352,
    "h": 273.7
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#2F26B7
secondary
#C4CA6F
accent
#E93FDE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2F26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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