#263797#263797

#263797 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.157 H 269.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#263797
RGBrgb(38, 55, 151)
HSLhsl(231, 60%, 37%)
HSVhsv(231, 75%, 59%)
CMYKcmyk(74.8%, 63.6%, 0%, 40.8%)
CIE-LABlab(27.79, 28.08, -54.51)
CIE-LCHlch(27.79, 61.32, 297.26°)
OKLaboklab(38.85% -0.001 -0.1575)
OKLCHoklch(38.85% 0.157 269.6)
XYZxyz(7.7495, 5.3780, 29.9018)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263797 #978626
analogous
#267097 #263797 #4D2697
triadic
#263797 #972637 #379726
tetradic
#263797 #972670 #978626 #26974D
square
#263797 #972670 #978626 #26974D
split-complementary
#263797 #974D26 #709726
monochromatic
#0D1335 #1A2566 #263797 #3249C8 #6072D7

Accessibility & contrast

On white

10.12
#263797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#263797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263797
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263797#FFFFFF#000000##FFFFFF
##2637971.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #263797;
/* rgb */ color: rgb(38, 55, 151);
/* oklch */ color: oklch(38.8% 0.157 269.6);
Tailwind
colors: {
  custom: {
    50: '#726db6',
    500: '#263797',
    950: '#000000',
  },
}
SCSS
$custom: #263797;
$custom-light: #726db6;
$custom-dark: #000000;
JSON
{
  "hex": "#263797",
  "rgb": {
    "r": 38,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 230.973,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38848,
    "c": 0.15749,
    "h": 269.6
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#263797
secondary
#BCAE5C
accent
#CB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263797

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

Preview Lab → · Contrast checker → · Palette generator →

#263797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva