#26238F#26238F

#26238F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.170 H 274.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#26238F
RGBrgb(38, 35, 143)
HSLhsl(242, 61%, 35%)
HSVhsv(242, 76%, 56%)
CMYKcmyk(73.4%, 75.5%, 0%, 43.9%)
CIE-LABlab(22.29, 37.91, -58.60)
CIE-LCHlch(22.29, 69.79, 302.90°)
OKLaboklab(34.63% 0.0123 -0.1695)
OKLCHoklch(34.63% 0.17 274.2)
XYZxyz(6.3566, 3.5967, 26.3405)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26238F #8C8F23
analogous
#23568F #26238F #5C238F
triadic
#26238F #8F2623 #238F26
tetradic
#26238F #8F2356 #8C8F23 #238F5C
square
#26238F #8F2356 #8C8F23 #238F5C
split-complementary
#26238F #8F5C23 #568F23
monochromatic
#0C0B2D #19175E #26238F #332FC0 #5A57D6

Accessibility & contrast

On white

12.21
#26238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#26238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26238F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26238F#FFFFFF#000000##FFFFFF
##26238F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26238f;
/* rgb */ color: rgb(38, 35, 143);
/* oklch */ color: oklch(34.6% 0.170 274.2);
Tailwind
colors: {
  custom: {
    50: '#725fb1',
    500: '#26238f',
    950: '#000000',
  },
}
SCSS
$custom: #26238f;
$custom-light: #725fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#26238f",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 241.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.16994,
    "h": 274.2
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#26238F
secondary
#B7BA54
accent
#E444DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26238F

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

Preview Lab → · Contrast checker → · Palette generator →

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