#263158#263158

#263158 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.071 H 270.2°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#263158
RGBrgb(38, 49, 88)
HSLhsl(227, 40%, 25%)
HSVhsv(227, 57%, 35%)
CMYKcmyk(56.8%, 44.3%, 0%, 65.5%)
CIE-LABlab(21.26, 8.23, -25.02)
CIE-LCHlch(21.26, 26.34, 288.22°)
OKLaboklab(32.41% 0.0002 -0.0709)
OKLCHoklch(32.41% 0.071 270.2)
XYZxyz(3.6585, 3.3130, 9.6773)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263158 #584D26
analogous
#264A58 #263158 #342658
triadic
#263158 #582631 #315826
tetradic
#263158 #58264A #584D26 #265834
square
#263158 #58264A #584D26 #265834
split-complementary
#263158 #583426 #4A5826
monochromatic
#090C15 #14192D #263158 #384983 #4B61AD

Accessibility & contrast

On white

12.63
#263158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#263158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263158
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263158#FFFFFF#000000##FFFFFF
##2631581.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21355A
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#0E3940
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #263158;
/* rgb */ color: rgb(38, 49, 88);
/* oklch */ color: oklch(32.4% 0.071 270.2);
Tailwind
colors: {
  custom: {
    50: '#646887',
    500: '#263158',
    950: '#000000',
  },
}
SCSS
$custom: #263158;
$custom-light: #646887;
$custom-dark: #000000;
JSON
{
  "hex": "#263158",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 226.8,
    "s": 39.683,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.07092,
    "h": 270.2
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#263158
secondary
#8B7E4F
accent
#B558D0
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #263158

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

Preview Lab → · Contrast checker → · Palette generator →

#263158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva