#263D9D#263D9D

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

Color values

HEX#263D9D
RGBrgb(38, 61, 157)
HSLhsl(228, 61%, 38%)
HSVhsv(228, 76%, 62%)
CMYKcmyk(75.8%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.87, 26.34, -54.76)
CIE-LCHlch(29.87, 60.76, 295.68°)
OKLaboklab(40.55% -0.0053 -0.1582)
OKLCHoklch(40.55% 0.158 268.1)
XYZxyz(8.5518, 6.1830, 32.6345)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D9D #9D8626
analogous
#26789D #263D9D #4A269D
triadic
#263D9D #9D263D #3D9D26
tetradic
#263D9D #9D2678 #9D8626 #269D4A
square
#263D9D #9D2678 #9D8626 #269D4A
split-complementary
#263D9D #9D4A26 #789D26
monochromatic
#0E173A #1A2A6C #263D9D #3351CE #647BD9

Accessibility & contrast

On white

9.39
#263D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263D9D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D9D#FFFFFF#000000##FFFFFF
##263D9D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #263d9d;
/* rgb */ color: rgb(38, 61, 157);
/* oklch */ color: oklch(40.6% 0.158 268.1);
Tailwind
colors: {
  custom: {
    50: '#7372bb',
    500: '#263d9d',
    950: '#000000',
  },
}
SCSS
$custom: #263d9d;
$custom-light: #7372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#263d9d",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 228.403,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40552,
    "c": 0.15825,
    "h": 268.1
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#263D9D
secondary
#BFAD60
accent
#C544E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #263D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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