#26268E#26268E

#26268E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.165 H 273.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#26268E
RGBrgb(38, 38, 142)
HSLhsl(240, 58%, 35%)
HSVhsv(240, 73%, 56%)
CMYKcmyk(73.2%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.83, 35.76, -57.09)
CIE-LCHlch(22.83, 67.37, 302.06°)
OKLaboklab(34.98% 0.0108 -0.1651)
OKLCHoklch(34.98% 0.165 273.7)
XYZxyz(6.3733, 3.7507, 25.9740)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26268E #8E8E26
analogous
#265A8E #26268E #5A268E
triadic
#26268E #8E2626 #268E26
tetradic
#26268E #8E265A #8E8E26 #268E5A
square
#26268E #8E265A #8E8E26 #268E5A
split-complementary
#26268E #8E5A26 #5A8E26
monochromatic
#0C0C2D #19195E #26268E #3333BE #5B5BD3

Accessibility & contrast

On white

12.00
#26268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#26268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26268E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26268E#FFFFFF#000000##FFFFFF
##26268E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26268e;
/* rgb */ color: rgb(38, 38, 142);
/* oklch */ color: oklch(35.0% 0.165 273.7);
Tailwind
colors: {
  custom: {
    50: '#7161b0',
    500: '#26268e',
    950: '#000000',
  },
}
SCSS
$custom: #26268e;
$custom-light: #7161b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26268e",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.16546,
    "h": 273.7
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#26268E
secondary
#B8B858
accent
#E147E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26268E

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

Preview Lab → · Contrast checker → · Palette generator →

#26268E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva