#26238D#26238D

#26238D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.167 H 274.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#26238D
RGBrgb(38, 35, 141)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 55%)
CMYKcmyk(73%, 75.2%, 0%, 44.7%)
CIE-LABlab(22.08, 37.22, -57.71)
CIE-LCHlch(22.08, 68.67, 302.82°)
OKLaboklab(34.41% 0.0127 -0.1669)
OKLCHoklch(34.41% 0.167 274.4)
XYZxyz(6.2065, 3.5366, 25.5497)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26238D #8A8D23
analogous
#23558D #26238D #5B238D
triadic
#26238D #8D2623 #238D26
tetradic
#26238D #8D2355 #8A8D23 #238D5B
square
#26238D #8D2355 #8A8D23 #238D5B
split-complementary
#26238D #8D5B23 #558D23
monochromatic
#0C0B2B #19175C #26238D #332FBE #5955D5

Accessibility & contrast

On white

12.30
#26238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#26238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26238D
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26238D#FFFFFF#000000##FFFFFF
##26238D1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26238d;
/* rgb */ color: rgb(38, 35, 141);
/* oklch */ color: oklch(34.4% 0.167 274.4);
Tailwind
colors: {
  custom: {
    50: '#715faf',
    500: '#26238d',
    950: '#000000',
  },
}
SCSS
$custom: #26238d;
$custom-light: #715faf;
$custom-dark: #000000;
JSON
{
  "hex": "#26238d",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 241.698,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34413,
    "c": 0.16738,
    "h": 274.4
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#26238D
secondary
#B6B953
accent
#E344DF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #26238D

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

Preview Lab → · Contrast checker → · Palette generator →

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