#263D8C#263D8C

#263D8C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.134 H 267.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#263D8C
RGBrgb(38, 61, 140)
HSLhsl(226, 57%, 35%)
HSVhsv(226, 73%, 55%)
CMYKcmyk(72.9%, 56.4%, 0%, 45.1%)
CIE-LABlab(28.49, 19.79, -46.59)
CIE-LCHlch(28.49, 50.62, 293.01°)
OKLaboklab(39.09% -0.0058 -0.1342)
OKLCHoklch(39.09% 0.134 267.5)
XYZxyz(7.2001, 5.6423, 25.5155)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D8C #8C7526
analogous
#26708C #263D8C #42268C
triadic
#263D8C #8C263D #3D8C26
tetradic
#263D8C #8C2670 #8C7526 #268C42
square
#263D8C #8C2670 #8C7526 #268C42
split-complementary
#263D8C #8C4226 #708C26
monochromatic
#0C132C #19285C #263D8C #3352BC #5A75D2

Accessibility & contrast

On white

9.87
#263D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#263D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D8C
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D8C#FFFFFF#000000##FFFFFF
##263D8C1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #263d8c;
/* rgb */ color: rgb(38, 61, 140);
/* oklch */ color: oklch(39.1% 0.134 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f72ae',
    500: '#263d8c',
    950: '#000000',
  },
}
SCSS
$custom: #263d8c;
$custom-light: #6f72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#263d8c",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 140
  },
  "hsl": {
    "h": 226.471,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.1343,
    "h": 267.5
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#263D8C
secondary
#B7A157
accent
#BE47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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