#263798#263798

#263798 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.159 H 269.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#263798
RGBrgb(38, 55, 152)
HSLhsl(231, 60%, 37%)
HSVhsv(231, 75%, 60%)
CMYKcmyk(75%, 63.8%, 0%, 40.4%)
CIE-LABlab(27.87, 28.46, -54.97)
CIE-LCHlch(27.87, 61.90, 297.37°)
OKLaboklab(38.94% -0.001 -0.1589)
OKLCHoklch(38.94% 0.159 269.6)
XYZxyz(7.8311, 5.4106, 30.3313)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263798 #988726
analogous
#267098 #263798 #4E2698
triadic
#263798 #982637 #379826
tetradic
#263798 #982670 #988726 #26984E
square
#263798 #982670 #988726 #26984E
split-complementary
#263798 #984E26 #709826
monochromatic
#0E1436 #1A2567 #263798 #3249C9 #6173D7

Accessibility & contrast

On white

10.09
#263798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#263798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263798
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263798#FFFFFF#000000##FFFFFF
##2637981.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #263798;
/* rgb */ color: rgb(38, 55, 152);
/* oklch */ color: oklch(38.9% 0.159 269.6);
Tailwind
colors: {
  custom: {
    50: '#726db7',
    500: '#263798',
    950: '#000000',
  },
}
SCSS
$custom: #263798;
$custom-light: #726db7;
$custom-dark: #000000;
JSON
{
  "hex": "#263798",
  "rgb": {
    "r": 38,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 231.053,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.15886,
    "h": 269.6
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#263798
secondary
#BDAF5D
accent
#CC45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263798

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

Preview Lab → · Contrast checker → · Palette generator →

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