#263F9D#263F9D

#263F9D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.156 H 267.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#263F9D
RGBrgb(38, 63, 157)
HSLhsl(227, 61%, 38%)
HSVhsv(227, 76%, 62%)
CMYKcmyk(75.8%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.40, 24.99, -53.89)
CIE-LCHlch(30.40, 59.40, 294.88°)
OKLaboklab(40.95% -0.0067 -0.1556)
OKLCHoklch(40.95% 0.156 267.5)
XYZxyz(8.6605, 6.4005, 32.6707)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F9D #9D8426
analogous
#267A9D #263F9D #48269D
triadic
#263F9D #9D263F #3F9D26
tetradic
#263F9D #9D267A #9D8426 #269D48
square
#263F9D #9D267A #9D8426 #269D48
split-complementary
#263F9D #9D4826 #7A9D26
monochromatic
#0E173A #1A2B6C #263F9D #3353CE #647DD9

Accessibility & contrast

On white

9.21
#263F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#263F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F9D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F9D#FFFFFF#000000##FFFFFF
##263F9D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #263f9d;
/* rgb */ color: rgb(38, 63, 157);
/* oklch */ color: oklch(40.9% 0.156 267.5);
Tailwind
colors: {
  custom: {
    50: '#7373bb',
    500: '#263f9d',
    950: '#000000',
  },
}
SCSS
$custom: #263f9d;
$custom-light: #7373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#263f9d",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 227.395,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.15574,
    "h": 267.5
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#263F9D
secondary
#BFAB60
accent
#C244E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #263F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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