#2F26BD#2F26BD

#2F26BD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.220 H 273.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2F26BD
RGBrgb(47, 38, 189)
HSLhsl(244, 67%, 45%)
HSVhsv(244, 80%, 74%)
CMYKcmyk(75.1%, 79.9%, 0%, 25.9%)
CIE-LABlab(28.55, 52.00, -76.09)
CIE-LCHlch(28.55, 92.16, 304.35°)
OKLaboklab(40.68% 0.0122 -0.2201)
OKLCHoklch(40.68% 0.22 273.2)
XYZxyz(11.0476, 5.6635, 48.6452)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26BD #B4BD26
analogous
#2669BD #2F26BD #7B26BD
triadic
#2F26BD #BD2F26 #26BD2F
tetradic
#2F26BD #BD2669 #B4BD26 #26BD7B
square
#2F26BD #BD2669 #B4BD26 #26BD7B
split-complementary
#2F26BD #BD7B26 #69BD26
monochromatic
#161257 #221C8A #2F26BD #4F46DA #8079E4

Accessibility & contrast

On white

9.85
#2F26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26BD
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26BD#FFFFFF#000000##FFFFFF
##2F26BD1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f26bd;
/* rgb */ color: rgb(47, 38, 189);
/* oklch */ color: oklch(40.7% 0.220 273.2);
Tailwind
colors: {
  custom: {
    50: '#8064d2',
    500: '#2f26bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f26bd;
$custom-light: #8064d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26bd",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 243.576,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.22048,
    "h": 273.2
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#2F26BD
secondary
#C7CC73
accent
#E93EDF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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