#263D97#263D97

#263D97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 268.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#263D97
RGBrgb(38, 61, 151)
HSLhsl(228, 60%, 37%)
HSVhsv(228, 75%, 59%)
CMYKcmyk(74.8%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.37, 24.04, -51.92)
CIE-LCHlch(29.37, 57.22, 294.84°)
OKLaboklab(40.02% -0.0054 -0.1498)
OKLCHoklch(40.02% 0.15 268)
XYZxyz(8.0520, 5.9831, 30.0026)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D97 #978026
analogous
#267597 #263D97 #482697
triadic
#263D97 #97263D #3D9726
tetradic
#263D97 #972675 #978026 #269748
square
#263D97 #972675 #978026 #269748
split-complementary
#263D97 #974826 #759726
monochromatic
#0D1535 #1A2966 #263D97 #3251C8 #6078D7

Accessibility & contrast

On white

9.56
#263D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#263D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D97
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D97#FFFFFF#000000##FFFFFF
##263D971.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263d97;
/* rgb */ color: rgb(38, 61, 151);
/* oklch */ color: oklch(40.0% 0.150 268.0);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#263d97',
    950: '#000000',
  },
}
SCSS
$custom: #263d97;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#263d97",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 227.788,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40024,
    "c": 0.14993,
    "h": 268
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#263D97
secondary
#BCA95C
accent
#C345E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263D97

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

Preview Lab → · Contrast checker → · Palette generator →

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