#26397D#26397D

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

Color values

HEX#26397D
RGBrgb(38, 57, 125)
HSLhsl(227, 53%, 32%)
HSVhsv(227, 70%, 49%)
CMYKcmyk(69.6%, 54.4%, 0%, 51%)
CIE-LABlab(26.21, 16.73, -40.94)
CIE-LCHlch(26.21, 44.23, 292.23°)
OKLaboklab(37.01% -0.0033 -0.1176)
OKLCHoklch(37.01% 0.118 268.4)
XYZxyz(5.9629, 4.8184, 20.0139)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26397D #7D6A26
analogous
#26647D #26397D #3F267D
triadic
#26397D #7D2639 #397D26
tetradic
#26397D #7D2664 #7D6A26 #267D3F
square
#26397D #7D2664 #7D6A26 #267D3F
split-complementary
#26397D #7D3F26 #647D26
monochromatic
#090E1F #18244E #26397D #344EAC #536DCB

Accessibility & contrast

On white

10.69
#26397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#26397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26397D
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26397D#FFFFFF#000000##FFFFFF
##26397D1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26397d;
/* rgb */ color: rgb(38, 57, 125);
/* oklch */ color: oklch(37.0% 0.118 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6fa3',
    500: '#26397d',
    950: '#000000',
  },
}
SCSS
$custom: #26397d;
$custom-light: #6b6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#26397d",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 226.897,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37007,
    "c": 0.11764,
    "h": 268.4
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26397D

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

Preview Lab → · Contrast checker → · Palette generator →

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