#263E97#263E97

#263E97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 267.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#263E97
RGBrgb(38, 62, 151)
HSLhsl(227, 60%, 37%)
HSVhsv(227, 75%, 59%)
CMYKcmyk(74.8%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.64, 23.36, -51.48)
CIE-LCHlch(29.64, 56.53, 294.41°)
OKLaboklab(40.23% -0.0061 -0.1485)
OKLCHoklch(40.23% 0.149 267.6)
XYZxyz(8.1059, 6.0908, 30.0206)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263E97 #977F26
analogous
#267697 #263E97 #472697
triadic
#263E97 #97263E #3E9726
tetradic
#263E97 #972676 #977F26 #269747
square
#263E97 #972676 #977F26 #269747
split-complementary
#263E97 #974726 #769726
monochromatic
#0D1635 #1A2A66 #263E97 #3252C8 #607AD7

Accessibility & contrast

On white

9.47
#263E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#263E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263E97
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263E97#FFFFFF#000000##FFFFFF
##263E971.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263e97;
/* rgb */ color: rgb(38, 62, 151);
/* oklch */ color: oklch(40.2% 0.149 267.6);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#263e97',
    950: '#000000',
  },
}
SCSS
$custom: #263e97;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#263e97",
  "rgb": {
    "r": 38,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 227.257,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40226,
    "c": 0.14865,
    "h": 267.6
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#263E97
secondary
#BCA85C
accent
#C145E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #263E97

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

Preview Lab → · Contrast checker → · Palette generator →

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