#2B26A8#2B26A8

#2B26A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.197 H 273.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2B26A8
RGBrgb(43, 38, 168)
HSLhsl(242, 63%, 40%)
HSVhsv(242, 77%, 66%)
CMYKcmyk(74.4%, 77.4%, 0%, 34.1%)
CIE-LABlab(25.94, 45.03, -67.87)
CIE-LCHlch(25.94, 81.45, 303.57°)
OKLaboklab(38.1% 0.012 -0.1964)
OKLCHoklch(38.1% 0.197 273.5)
XYZxyz(8.7549, 4.7261, 37.4890)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B26A8 #A3A826
analogous
#2662A8 #2B26A8 #6C26A8
triadic
#2B26A8 #A82B26 #26A82B
tetradic
#2B26A8 #A82662 #A3A826 #26A86C
square
#2B26A8 #A82662 #A3A826 #26A86C
split-complementary
#2B26A8 #A86C26 #62A826
monochromatic
#110F44 #1E1B76 #2B26A8 #3F39D2 #6F6BDE

Accessibility & contrast

On white

10.79
#2B26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2B26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B26A8
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B26A8#FFFFFF#000000##FFFFFF
##2B26A81.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b26a8;
/* rgb */ color: rgb(43, 38, 168);
/* oklch */ color: oklch(38.1% 0.197 273.5);
Tailwind
colors: {
  custom: {
    50: '#7963c3',
    500: '#2b26a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b26a8;
$custom-light: #7963c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b26a8",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 242.308,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.19673,
    "h": 273.5
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#2B26A8
secondary
#C0C466
accent
#E642E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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