#26307F#26307F

#26307F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.133 H 272.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#26307F
RGBrgb(38, 48, 127)
HSLhsl(233, 54%, 32%)
HSVhsv(233, 70%, 50%)
CMYKcmyk(70.1%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.86, 23.73, -46.01)
CIE-LCHlch(23.86, 51.77, 297.28°)
OKLaboklab(35.3% 0.005 -0.1326)
OKLCHoklch(35.3% 0.133 272.2)
XYZxyz(5.6858, 4.0577, 20.5581)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26307F #7F7526
analogous
#265D7F #26307F #48267F
triadic
#26307F #7F2630 #307F26
tetradic
#26307F #7F265D #7F7526 #267F48
square
#26307F #7F265D #7F7526 #267F48
split-complementary
#26307F #7F4826 #5D7F26
monochromatic
#0A0C21 #181E50 #26307F #3442AE #5461CC

Accessibility & contrast

On white

11.59
#26307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#26307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26307F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26307F#FFFFFF#000000##FFFFFF
##26307F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26307f;
/* rgb */ color: rgb(38, 48, 127);
/* oklch */ color: oklch(35.3% 0.133 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d68a5',
    500: '#26307f',
    950: '#000000',
  },
}
SCSS
$custom: #26307f;
$custom-light: #6d68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26307f",
  "rgb": {
    "r": 38,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 233.258,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35299,
    "c": 0.13272,
    "h": 272.2
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#26307F
secondary
#B0A551
accent
#CD4ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #26307F

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

Preview Lab → · Contrast checker → · Palette generator →

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