#263D8D#263D8D

#263D8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.136 H 267.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#263D8D
RGBrgb(38, 61, 141)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 73%, 55%)
CMYKcmyk(73%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.57, 20.18, -47.09)
CIE-LCHlch(28.57, 51.23, 293.19°)
OKLaboklab(39.17% -0.0058 -0.1356)
OKLCHoklch(39.17% 0.136 267.6)
XYZxyz(7.2741, 5.6719, 25.9056)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D8D #8D7626
analogous
#26708D #263D8D #42268D
triadic
#263D8D #8D263D #3D8D26
tetradic
#263D8D #8D2670 #8D7626 #268D42
square
#263D8D #8D2670 #8D7626 #268D42
split-complementary
#263D8D #8D4226 #708D26
monochromatic
#0C132D #19285D #263D8D #3352BD #5B75D3

Accessibility & contrast

On white

9.84
#263D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263D8D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D8D#FFFFFF#000000##FFFFFF
##263D8D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #263d8d;
/* rgb */ color: rgb(38, 61, 141);
/* oklch */ color: oklch(39.2% 0.136 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f72af',
    500: '#263d8d',
    950: '#000000',
  },
}
SCSS
$custom: #263d8d;
$custom-light: #6f72af;
$custom-dark: #000000;
JSON
{
  "hex": "#263d8d",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 226.602,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39172,
    "c": 0.13574,
    "h": 267.6
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #263D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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