#263AAB#263AAB

#263AAB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.181 H 268.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#263AAB
RGBrgb(38, 58, 171)
HSLhsl(231, 64%, 41%)
HSVhsv(231, 78%, 67%)
CMYKcmyk(77.8%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.35, 33.58, -62.42)
CIE-LCHlch(30.35, 70.88, 298.27°)
OKLaboklab(41.29% -0.0038 -0.1806)
OKLCHoklch(41.29% 0.181 268.8)
XYZxyz(9.6605, 6.3774, 39.2420)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263AAB #AB9726
analogous
#267CAB #263AAB #5426AB
triadic
#263AAB #AB263A #3AAB26
tetradic
#263AAB #AB267C #AB9726 #26AB54
square
#263AAB #AB267C #AB9726 #26AB54
split-complementary
#263AAB #AB5426 #7CAB26
monochromatic
#101847 #1B2979 #263AAB #3B52D3 #6D7EDF

Accessibility & contrast

On white

9.23
#263AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#263AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263AAB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263AAB#FFFFFF#000000##FFFFFF
##263AAB1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #263aab;
/* rgb */ color: rgb(38, 58, 171);
/* oklch */ color: oklch(41.3% 0.181 268.8);
Tailwind
colors: {
  custom: {
    50: '#7670c5',
    500: '#263aab',
    950: '#000000',
  },
}
SCSS
$custom: #263aab;
$custom-light: #7670c5;
$custom-dark: #000000;
JSON
{
  "hex": "#263aab",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 230.977,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41285,
    "c": 0.18068,
    "h": 268.8
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#263AAB
secondary
#C5B768
accent
#CE41E7
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #263AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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