#2F26AA#2F26AA

#2F26AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.198 H 274.8°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2F26AA
RGBrgb(47, 38, 170)
HSLhsl(244, 63%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(72.4%, 77.6%, 0%, 33.3%)
CIE-LABlab(26.42, 46.03, -68.26)
CIE-LCHlch(26.42, 82.33, 303.99°)
OKLaboklab(38.58% 0.0167 -0.1974)
OKLCHoklch(38.58% 0.198 274.8)
XYZxyz(9.1187, 4.8920, 38.4861)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F26AA #A1AA26
analogous
#265FAA #2F26AA #7126AA
triadic
#2F26AA #AA2F26 #26AA2F
tetradic
#2F26AA #AA265F #A1AA26 #26AA71
square
#2F26AA #AA265F #A1AA26 #26AA71
split-complementary
#2F26AA #AA7126 #5FAA26
monochromatic
#131046 #211B78 #2F26AA #453AD3 #746CDE

Accessibility & contrast

On white

10.61
#2F26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F26AA
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F26AA#FFFFFF#000000##FFFFFF
##2F26AA1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2f26aa;
/* rgb */ color: rgb(47, 38, 170);
/* oklch */ color: oklch(38.6% 0.198 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b63c5',
    500: '#2f26aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f26aa;
$custom-light: #7b63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f26aa",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 244.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38577,
    "c": 0.19812,
    "h": 274.8
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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