#263D8E#263D8E

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

Color values

HEX#263D8E
RGBrgb(38, 61, 142)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(73.2%, 57%, 0%, 44.3%)
CIE-LABlab(28.65, 20.56, -47.58)
CIE-LCHlch(28.65, 51.83, 293.38°)
OKLaboklab(39.26% -0.0057 -0.1371)
OKLCHoklch(39.26% 0.137 267.6)
XYZxyz(7.3489, 5.7018, 26.2992)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D8E #8E7726
analogous
#26718E #263D8E #43268E
triadic
#263D8E #8E263D #3D8E26
tetradic
#263D8E #8E2671 #8E7726 #268E43
square
#263D8E #8E2671 #8E7726 #268E43
split-complementary
#263D8E #8E4326 #718E26
monochromatic
#0C142D #19285E #263D8E #3352BE #5B76D3

Accessibility & contrast

On white

9.81
#263D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#263D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D8E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D8E#FFFFFF#000000##FFFFFF
##263D8E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #263d8e;
/* rgb */ color: rgb(38, 61, 142);
/* oklch */ color: oklch(39.3% 0.137 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#263d8e',
    950: '#000000',
  },
}
SCSS
$custom: #263d8e;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#263d8e",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 226.731,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39256,
    "c": 0.13718,
    "h": 267.6
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#263D8E
secondary
#B8A358
accent
#BF47E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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