#263A8E#263A8E

#263A8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.141 H 268.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#263A8E
RGBrgb(38, 58, 142)
HSLhsl(228, 58%, 35%)
HSVhsv(228, 73%, 56%)
CMYKcmyk(73.2%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.82, 22.62, -48.92)
CIE-LCHlch(27.82, 53.90, 294.81°)
OKLaboklab(38.64% -0.0032 -0.1411)
OKLCHoklch(38.64% 0.141 268.7)
XYZxyz(7.1932, 5.3904, 26.2473)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A8E #8E7A26
analogous
#266E8E #263A8E #46268E
triadic
#263A8E #8E263A #3A8E26
tetradic
#263A8E #8E266E #8E7A26 #268E46
square
#263A8E #8E266E #8E7A26 #268E46
split-complementary
#263A8E #8E4626 #6E8E26
monochromatic
#0C132D #19265E #263A8E #334EBE #5B72D3

Accessibility & contrast

On white

10.10
#263A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#263A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A8E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A8E#FFFFFF#000000##FFFFFF
##263A8E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #263a8e;
/* rgb */ color: rgb(38, 58, 142);
/* oklch */ color: oklch(38.6% 0.141 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f6fb0',
    500: '#263a8e',
    950: '#000000',
  },
}
SCSS
$custom: #263a8e;
$custom-light: #6f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#263a8e",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 228.462,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.1411,
    "h": 268.7
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#263A8E
secondary
#B8A658
accent
#C347E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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