#263A98#263A98

#263A98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.155 H 268.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#263A98
RGBrgb(38, 58, 152)
HSLhsl(229, 60%, 37%)
HSVhsv(229, 75%, 60%)
CMYKcmyk(75%, 61.8%, 0%, 40.4%)
CIE-LABlab(28.65, 26.45, -53.70)
CIE-LCHlch(28.65, 59.86, 296.22°)
OKLaboklab(39.52% -0.0031 -0.1551)
OKLCHoklch(39.52% 0.155 268.8)
XYZxyz(7.9779, 5.7043, 30.3803)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A98 #988426
analogous
#267398 #263A98 #4B2698
triadic
#263A98 #98263A #3A9826
tetradic
#263A98 #982673 #988426 #26984B
square
#263A98 #982673 #988426 #26984B
split-complementary
#263A98 #984B26 #739826
monochromatic
#0E1536 #1A2767 #263A98 #324DC9 #6176D7

Accessibility & contrast

On white

9.81
#263A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#263A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A98
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A98#FFFFFF#000000##FFFFFF
##263A981.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #263a98;
/* rgb */ color: rgb(38, 58, 152);
/* oklch */ color: oklch(39.5% 0.155 268.8);
Tailwind
colors: {
  custom: {
    50: '#7270b7',
    500: '#263a98',
    950: '#000000',
  },
}
SCSS
$custom: #263a98;
$custom-light: #7270b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263a98",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 229.474,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.15512,
    "h": 268.8
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#263A98
secondary
#BDAC5D
accent
#C745E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263A98

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

Preview Lab → · Contrast checker → · Palette generator →

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