#26237F#26237F

#26237F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.149 H 275.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#26237F
RGBrgb(38, 35, 127)
HSLhsl(242, 57%, 32%)
HSVhsv(242, 72%, 50%)
CMYKcmyk(70.1%, 72.4%, 0%, 50.2%)
CIE-LABlab(20.62, 32.33, -51.32)
CIE-LCHlch(20.62, 60.65, 302.21°)
OKLaboklab(32.93% 0.0152 -0.1482)
OKLCHoklch(32.93% 0.149 275.9)
XYZxyz(5.2299, 3.1460, 20.4062)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26237F #7C7F23
analogous
#234E7F #26237F #54237F
triadic
#26237F #7F2623 #237F26
tetradic
#26237F #7F234E #7C7F23 #237F54
square
#26237F #7F234E #7C7F23 #237F54
split-complementary
#26237F #7F5423 #4E7F23
monochromatic
#09091F #18164F #26237F #3430AF #524ECE

Accessibility & contrast

On white

12.89
#26237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#26237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26237F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26237F#FFFFFF#000000##FFFFFF
##26237F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #26237f;
/* rgb */ color: rgb(38, 35, 127);
/* oklch */ color: oklch(32.9% 0.149 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e5fa5',
    500: '#26237f',
    950: '#000000',
  },
}
SCSS
$custom: #26237f;
$custom-light: #6e5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#26237f",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 241.957,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.14902,
    "h": 275.9
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#26237F
secondary
#AEB14C
accent
#E048DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #26237F

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

Preview Lab → · Contrast checker → · Palette generator →

#26237F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva