#26438B#26438B

#26438B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.125 H 264.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#26438B
RGBrgb(38, 67, 139)
HSLhsl(223, 57%, 35%)
HSVhsv(223, 73%, 55%)
CMYKcmyk(72.7%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.13, 15.28, -43.32)
CIE-LCHlch(30.13, 45.94, 289.43°)
OKLaboklab(40.31% -0.0113 -0.1244)
OKLCHoklch(40.31% 0.125 264.8)
XYZxyz(7.4650, 6.2897, 25.2417)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26438B #8B6E26
analogous
#26768B #26438B #3B268B
triadic
#26438B #8B2643 #438B26
tetradic
#26438B #8B2676 #8B6E26 #268B3B
square
#26438B #8B2676 #8B6E26 #268B3B
split-complementary
#26438B #8B3B26 #768B26
monochromatic
#0C152B #192C5B #26438B #335ABB #5A7CD2

Accessibility & contrast

On white

9.30
#26438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#26438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26438B
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26438B#FFFFFF#000000##FFFFFF
##26438B1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #26438b;
/* rgb */ color: rgb(38, 67, 139);
/* oklch */ color: oklch(40.3% 0.125 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e76ad',
    500: '#26438b',
    950: '#000000',
  },
}
SCSS
$custom: #26438b;
$custom-light: #6e76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26438b",
  "rgb": {
    "r": 38,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 222.772,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.12496,
    "h": 264.8
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#26438B
secondary
#B79B56
accent
#B447E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #26438B

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

Preview Lab → · Contrast checker → · Palette generator →

#26438B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva