#263C97#263C97

#263C97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.151 H 268.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#263C97
RGBrgb(38, 60, 151)
HSLhsl(228, 60%, 37%)
HSVhsv(228, 75%, 59%)
CMYKcmyk(74.8%, 60.3%, 0%, 40.8%)
CIE-LABlab(29.10, 24.72, -52.36)
CIE-LCHlch(29.10, 57.90, 295.27°)
OKLaboklab(39.82% -0.0046 -0.1511)
OKLCHoklch(39.82% 0.151 268.3)
XYZxyz(7.9992, 5.8773, 29.9850)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263C97 #978126
analogous
#267497 #263C97 #492697
triadic
#263C97 #97263C #3C9726
tetradic
#263C97 #972674 #978126 #269749
square
#263C97 #972674 #978126 #269749
split-complementary
#263C97 #974926 #749726
monochromatic
#0D1535 #1A2966 #263C97 #324FC8 #6077D7

Accessibility & contrast

On white

9.65
#263C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#263C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263C97
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263C97#FFFFFF#000000##FFFFFF
##263C971.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #263c97;
/* rgb */ color: rgb(38, 60, 151);
/* oklch */ color: oklch(39.8% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#7171b6',
    500: '#263c97',
    950: '#000000',
  },
}
SCSS
$custom: #263c97;
$custom-light: #7171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#263c97",
  "rgb": {
    "r": 38,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 228.319,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39823,
    "c": 0.1512,
    "h": 268.3
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#263C97
secondary
#BCAA5C
accent
#C445E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263C97

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

Preview Lab → · Contrast checker → · Palette generator →

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