#263A97#263A97

#263A97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.154 H 268.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#263A97
RGBrgb(38, 58, 151)
HSLhsl(229, 60%, 37%)
HSVhsv(229, 75%, 59%)
CMYKcmyk(74.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.57, 26.07, -53.23)
CIE-LCHlch(28.57, 59.27, 296.09°)
OKLaboklab(39.43% -0.0031 -0.1537)
OKLCHoklch(39.43% 0.154 268.8)
XYZxyz(7.8964, 5.6717, 29.9508)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A97 #978326
analogous
#267297 #263A97 #4B2697
triadic
#263A97 #97263A #3A9726
tetradic
#263A97 #972672 #978326 #26974B
square
#263A97 #972672 #978326 #26974B
split-complementary
#263A97 #974B26 #729726
monochromatic
#0D1435 #1A2766 #263A97 #324DC8 #6075D7

Accessibility & contrast

On white

9.84
#263A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#263A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A97
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A97#FFFFFF#000000##FFFFFF
##263A971.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #263a97;
/* rgb */ color: rgb(38, 58, 151);
/* oklch */ color: oklch(39.4% 0.154 268.8);
Tailwind
colors: {
  custom: {
    50: '#7170b6',
    500: '#263a97',
    950: '#000000',
  },
}
SCSS
$custom: #263a97;
$custom-light: #7170b6;
$custom-dark: #000000;
JSON
{
  "hex": "#263a97",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 229.381,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.15373,
    "h": 268.8
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#263A97
secondary
#BCAB5C
accent
#C745E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263A97

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

Preview Lab → · Contrast checker → · Palette generator →

#263A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva