#2F26A9#2F26A9

#2F26A9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.197 H 274.9°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2F26A9
RGBrgb(47, 38, 169)
HSLhsl(244, 63%, 41%)
HSVhsv(244, 78%, 66%)
CMYKcmyk(72.2%, 77.5%, 0%, 33.7%)
CIE-LABlab(26.32, 45.71, -67.84)
CIE-LCHlch(26.32, 81.80, 303.97°)
OKLaboklab(38.47% 0.0169 -0.1962)
OKLCHoklch(38.47% 0.197 274.9)
XYZxyz(9.0245, 4.8543, 37.9898)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26A9 #A0A926
analogous
#265EA9 #2F26A9 #7026A9
triadic
#2F26A9 #A92F26 #26A92F
tetradic
#2F26A9 #A9265E #A0A926 #26A970
square
#2F26A9 #A9265E #A0A926 #26A970
split-complementary
#2F26A9 #A97026 #5EA926
monochromatic
#131045 #211B77 #2F26A9 #443AD3 #736CDE

Accessibility & contrast

On white

10.65
#2F26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2F26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26A9
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26A9#FFFFFF#000000##FFFFFF
##2F26A91.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f26a9;
/* rgb */ color: rgb(47, 38, 169);
/* oklch */ color: oklch(38.5% 0.197 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b63c4',
    500: '#2f26a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f26a9;
$custom-light: #7b63c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26a9",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 244.122,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38468,
    "c": 0.19692,
    "h": 274.9
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#2F26A9
secondary
#BEC467
accent
#E641DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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