#263C8E#263C8E

#263C8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.138 H 268.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#263C8E
RGBrgb(38, 60, 142)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(73.2%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.37, 21.25, -48.03)
CIE-LCHlch(28.37, 52.52, 293.87°)
OKLaboklab(39.05% -0.0049 -0.1384)
OKLCHoklch(39.05% 0.138 268)
XYZxyz(7.2960, 5.5960, 26.2816)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263C8E #8E7826
analogous
#26708E #263C8E #44268E
triadic
#263C8E #8E263C #3C8E26
tetradic
#263C8E #8E2670 #8E7826 #268E44
square
#263C8E #8E2670 #8E7826 #268E44
split-complementary
#263C8E #8E4426 #708E26
monochromatic
#0C132D #19285E #263C8E #3350BE #5B75D3

Accessibility & contrast

On white

9.91
#263C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#263C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263C8E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263C8E#FFFFFF#000000##FFFFFF
##263C8E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263c8e;
/* rgb */ color: rgb(38, 60, 142);
/* oklch */ color: oklch(39.0% 0.138 268.0);
Tailwind
colors: {
  custom: {
    50: '#6f71b0',
    500: '#263c8e',
    950: '#000000',
  },
}
SCSS
$custom: #263c8e;
$custom-light: #6f71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#263c8e",
  "rgb": {
    "r": 38,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 227.308,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.13849,
    "h": 268
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#263C8E
secondary
#B8A458
accent
#C047E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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