#26397E#26397E

#26397E is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.1% C 0.119 H 268.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#26397E
RGBrgb(38, 57, 126)
HSLhsl(227, 54%, 32%)
HSVhsv(227, 70%, 49%)
CMYKcmyk(69.8%, 54.8%, 0%, 50.6%)
CIE-LABlab(26.29, 17.12, -41.45)
CIE-LCHlch(26.29, 44.84, 292.44°)
OKLaboklab(37.09% -0.0033 -0.1191)
OKLCHoklch(37.09% 0.119 268.4)
XYZxyz(6.0271, 4.8441, 20.3520)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26397E #7E6B26
analogous
#26657E #26397E #3F267E
triadic
#26397E #7E2639 #397E26
tetradic
#26397E #7E2665 #7E6B26 #267E3F
square
#26397E #7E2665 #7E6B26 #267E3F
split-complementary
#26397E #7E3F26 #657E26
monochromatic
#0A0E20 #18244F #26397E #344EAD #536DCB

Accessibility & contrast

On white

10.67
#26397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#26397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26397E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26397E#FFFFFF#000000##FFFFFF
##26397E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #26397e;
/* rgb */ color: rgb(38, 57, 126);
/* oklch */ color: oklch(37.1% 0.119 268.4);
Tailwind
colors: {
  custom: {
    50: '#6c6fa4',
    500: '#26397e',
    950: '#000000',
  },
}
SCSS
$custom: #26397e;
$custom-light: #6c6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#26397e",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 227.045,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.11912,
    "h": 268.4
  },
  "luminance": 0.04845
}

Semantic roles & 50–950 ramp

primary
#26397E
secondary
#B09B50
accent
#BD4BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #26397E

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

Preview Lab → · Contrast checker → · Palette generator →

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