#263C98#263C98

#263C98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.153 H 268.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#263C98
RGBrgb(38, 60, 152)
HSLhsl(228, 60%, 37%)
HSVhsv(228, 75%, 60%)
CMYKcmyk(75%, 60.5%, 0%, 40.4%)
CIE-LABlab(29.18, 25.10, -52.84)
CIE-LCHlch(29.18, 58.49, 295.41°)
OKLaboklab(39.91% -0.0046 -0.1525)
OKLCHoklch(39.91% 0.153 268.3)
XYZxyz(8.0807, 5.9099, 30.4145)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263C98 #988226
analogous
#267598 #263C98 #492698
triadic
#263C98 #98263C #3C9826
tetradic
#263C98 #982675 #988226 #269849
square
#263C98 #982675 #988226 #269849
split-complementary
#263C98 #984926 #759826
monochromatic
#0E1536 #1A2967 #263C98 #324FC9 #6178D7

Accessibility & contrast

On white

9.62
#263C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#263C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263C98
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263C98#FFFFFF#000000##FFFFFF
##263C981.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263c98;
/* rgb */ color: rgb(38, 60, 152);
/* oklch */ color: oklch(39.9% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#7271b7',
    500: '#263c98',
    950: '#000000',
  },
}
SCSS
$custom: #263c98;
$custom-light: #7271b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263c98",
  "rgb": {
    "r": 38,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 228.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.15259,
    "h": 268.3
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#263C98
secondary
#BDAA5D
accent
#C545E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263C98

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

Preview Lab → · Contrast checker → · Palette generator →

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