#263F97#263F97

#263F97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.147 H 267.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#263F97
RGBrgb(38, 63, 151)
HSLhsl(227, 60%, 37%)
HSVhsv(227, 75%, 59%)
CMYKcmyk(74.8%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.91, 22.68, -51.04)
CIE-LCHlch(29.91, 55.85, 293.96°)
OKLaboklab(40.43% -0.0069 -0.1472)
OKLCHoklch(40.43% 0.147 267.3)
XYZxyz(8.1608, 6.2006, 30.0389)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F97 #977E26
analogous
#267797 #263F97 #462697
triadic
#263F97 #97263F #3F9726
tetradic
#263F97 #972677 #977E26 #269746
square
#263F97 #972677 #977E26 #269746
split-complementary
#263F97 #974626 #779726
monochromatic
#0D1635 #1A2B66 #263F97 #3253C8 #607BD7

Accessibility & contrast

On white

9.37
#263F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#263F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F97
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F97#FFFFFF#000000##FFFFFF
##263F971.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263f97;
/* rgb */ color: rgb(38, 63, 151);
/* oklch */ color: oklch(40.4% 0.147 267.3);
Tailwind
colors: {
  custom: {
    50: '#7173b6',
    500: '#263f97',
    950: '#000000',
  },
}
SCSS
$custom: #263f97;
$custom-light: #7173b6;
$custom-dark: #000000;
JSON
{
  "hex": "#263f97",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 226.726,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.14736,
    "h": 267.3
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#263F97
secondary
#BCA75C
accent
#C045E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #263F97

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

Preview Lab → · Contrast checker → · Palette generator →

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