#263D78#263D78

#263D78 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.105 H 265.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#263D78
RGBrgb(38, 61, 120)
HSLhsl(223, 52%, 31%)
HSVhsv(223, 68%, 47%)
CMYKcmyk(68.3%, 49.2%, 0%, 52.9%)
CIE-LABlab(27.03, 12.01, -36.46)
CIE-LCHlch(27.03, 38.39, 288.23°)
OKLaboklab(37.52% -0.008 -0.1044)
OKLCHoklch(37.52% 0.105 265.6)
XYZxyz(5.8571, 5.1051, 18.4424)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D78 #786126
analogous
#266678 #263D78 #382678
triadic
#263D78 #78263D #3D7826
tetradic
#263D78 #782666 #786126 #267838
square
#263D78 #782666 #786126 #267838
split-complementary
#263D78 #783826 #667826
monochromatic
#090E1B #17254A #263D78 #3555A6 #5172C8

Accessibility & contrast

On white

10.39
#263D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#263D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D78
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D78#FFFFFF#000000##FFFFFF
##263D781.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#0E3C77
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #263d78;
/* rgb */ color: rgb(38, 61, 120);
/* oklch */ color: oklch(37.5% 0.105 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a729f',
    500: '#263d78',
    950: '#000000',
  },
}
SCSS
$custom: #263d78;
$custom-light: #6a729f;
$custom-dark: #000000;
JSON
{
  "hex": "#263d78",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 223.171,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37517,
    "c": 0.10468,
    "h": 265.6
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#263D78
secondary
#AA9150
accent
#B34CDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #263D78

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

Preview Lab → · Contrast checker → · Palette generator →

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