#263D9E#263D9E

#263D9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.160 H 268.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#263D9E
RGBrgb(38, 61, 158)
HSLhsl(229, 61%, 38%)
HSVhsv(229, 76%, 62%)
CMYKcmyk(75.9%, 61.4%, 0%, 38%)
CIE-LABlab(29.95, 26.72, -55.23)
CIE-LCHlch(29.95, 61.35, 295.82°)
OKLaboklab(40.64% -0.0053 -0.1595)
OKLCHoklch(40.64% 0.16 268.1)
XYZxyz(8.6375, 6.2172, 33.0860)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D9E #9E8726
analogous
#26799E #263D9E #4B269E
triadic
#263D9E #9E263D #3D9E26
tetradic
#263D9E #9E2679 #9E8726 #269E4B
square
#263D9E #9E2679 #9E8726 #269E4B
split-complementary
#263D9E #9E4B26 #799E26
monochromatic
#0E173B #1A2A6D #263D9E #3351CE #657BDA

Accessibility & contrast

On white

9.36
#263D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#263D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D9E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D9E#FFFFFF#000000##FFFFFF
##263D9E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #263d9e;
/* rgb */ color: rgb(38, 61, 158);
/* oklch */ color: oklch(40.6% 0.160 268.1);
Tailwind
colors: {
  custom: {
    50: '#7372bb',
    500: '#263d9e',
    950: '#000000',
  },
}
SCSS
$custom: #263d9e;
$custom-light: #7372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#263d9e",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 228.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40641,
    "c": 0.15963,
    "h": 268.1
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#263D9E
secondary
#C0AD60
accent
#C643E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #263D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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