#263D98#263D98

#263D98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.151 H 268.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#263D98
RGBrgb(38, 61, 152)
HSLhsl(228, 60%, 37%)
HSVhsv(228, 75%, 60%)
CMYKcmyk(75%, 59.9%, 0%, 40.4%)
CIE-LABlab(29.45, 24.42, -52.40)
CIE-LCHlch(29.45, 57.81, 294.99°)
OKLaboklab(40.11% -0.0053 -0.1512)
OKLCHoklch(40.11% 0.151 268)
XYZxyz(8.1336, 6.0157, 30.4322)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D98 #988126
analogous
#267698 #263D98 #482698
triadic
#263D98 #98263D #3D9826
tetradic
#263D98 #982676 #988126 #269848
square
#263D98 #982676 #988126 #269848
split-complementary
#263D98 #984826 #769826
monochromatic
#0E1636 #1A2967 #263D98 #3251C9 #6179D7

Accessibility & contrast

On white

9.53
#263D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#263D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D98
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D98#FFFFFF#000000##FFFFFF
##263D981.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #263d98;
/* rgb */ color: rgb(38, 61, 152);
/* oklch */ color: oklch(40.1% 0.151 268.0);
Tailwind
colors: {
  custom: {
    50: '#7172b7',
    500: '#263d98',
    950: '#000000',
  },
}
SCSS
$custom: #263d98;
$custom-light: #7172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263d98",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 227.895,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.15132,
    "h": 268
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#263D98
secondary
#BDA95D
accent
#C345E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263D98

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

Preview Lab → · Contrast checker → · Palette generator →

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