#263398#263398

#263398 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.164 H 270.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#263398
RGBrgb(38, 51, 152)
HSLhsl(233, 60%, 37%)
HSVhsv(233, 75%, 60%)
CMYKcmyk(75%, 66.4%, 0%, 40.4%)
CIE-LABlab(26.87, 31.10, -56.63)
CIE-LCHlch(26.87, 64.61, 298.78°)
OKLaboklab(38.2% 0.0017 -0.1637)
OKLCHoklch(38.2% 0.164 270.6)
XYZxyz(7.6487, 5.0459, 30.2705)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263398 #988B26
analogous
#266C98 #263398 #522698
triadic
#263398 #982633 #339826
tetradic
#263398 #98266C #988B26 #269852
square
#263398 #98266C #988B26 #269852
split-complementary
#263398 #985226 #6C9826
monochromatic
#0E1236 #1A2367 #263398 #3243C9 #616ED7

Accessibility & contrast

On white

10.45
#263398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#263398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263398
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263398#FFFFFF#000000##FFFFFF
##2633981.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #263398;
/* rgb */ color: rgb(38, 51, 152);
/* oklch */ color: oklch(38.2% 0.164 270.6);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#263398',
    950: '#000000',
  },
}
SCSS
$custom: #263398;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#263398",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 233.158,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.382,
    "c": 0.16374,
    "h": 270.6
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#263398
secondary
#BDB25D
accent
#D145E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263398

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

Preview Lab → · Contrast checker → · Palette generator →

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