#2A26AF#2A26AF

#2A26AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.205 H 272.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2A26AF
RGBrgb(42, 38, 175)
HSLhsl(242, 64%, 42%)
HSVhsv(242, 78%, 69%)
CMYKcmyk(76%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.66, 47.22, -70.89)
CIE-LCHlch(26.66, 85.18, 303.67°)
OKLaboklab(38.82% 0.0093 -0.2052)
OKLCHoklch(38.82% 0.205 272.6)
XYZxyz(9.3832, 4.9726, 41.0144)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A26AF #ABAF26
analogous
#2667AF #2A26AF #6F26AF
triadic
#2A26AF #AF2A26 #26AF2A
tetradic
#2A26AF #AF2667 #ABAF26 #26AF6F
square
#2A26AF #AF2667 #ABAF26 #26AF6F
split-complementary
#2A26AF #AF6F26 #67AF26
monochromatic
#12104A #1E1B7D #2A26AF #423DD5 #7370E0

Accessibility & contrast

On white

10.53
#2A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A26AF
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A26AF#FFFFFF#000000##FFFFFF
##2A26AF1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a26af;
/* rgb */ color: rgb(42, 38, 175);
/* oklch */ color: oklch(38.8% 0.205 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2a26af',
    950: '#000000',
  },
}
SCSS
$custom: #2a26af;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a26af",
  "rgb": {
    "r": 42,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 241.752,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38817,
    "c": 0.20538,
    "h": 272.6
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#2A26AF
secondary
#C4C76A
accent
#E740E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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