#26236A#26236A

#26236A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.120 H 278.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#26236A
RGBrgb(38, 35, 106)
HSLhsl(243, 50%, 28%)
HSVhsv(243, 67%, 42%)
CMYKcmyk(64.2%, 67%, 0%, 58.4%)
CIE-LABlab(18.60, 24.78, -41.13)
CIE-LCHlch(18.60, 48.02, 301.07°)
OKLaboklab(30.86% 0.0179 -0.1184)
OKLCHoklch(30.86% 0.12 278.6)
XYZxyz(4.0010, 2.6544, 13.9344)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26236A #676A23
analogous
#23446A #26236A #49236A
triadic
#26236A #6A2623 #236A26
tetradic
#26236A #6A2344 #676A23 #236A49
square
#26236A #6A2344 #676A23 #236A49
split-complementary
#26236A #6A4923 #446A23
monochromatic
#080817 #16143C #26236A #363298 #4B46C2

Accessibility & contrast

On white

13.72
#26236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#26236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26236A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26236A#FFFFFF#000000##FFFFFF
##26236A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #26236a;
/* rgb */ color: rgb(38, 35, 106);
/* oklch */ color: oklch(30.9% 0.120 278.6);
Tailwind
colors: {
  custom: {
    50: '#695e95',
    500: '#26236a',
    950: '#000000',
  },
}
SCSS
$custom: #26236a;
$custom-light: #695e95;
$custom-dark: #000000;
JSON
{
  "hex": "#26236a",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 242.535,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30856,
    "c": 0.11974,
    "h": 278.6
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#26236A
secondary
#9A9D4B
accent
#DA4ED4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #26236A

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

Preview Lab → · Contrast checker → · Palette generator →

#26236A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva