#263298#263298

#263298 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.165 H 270.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#263298
RGBrgb(38, 50, 152)
HSLhsl(234, 60%, 37%)
HSVhsv(234, 75%, 60%)
CMYKcmyk(75%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.62, 31.76, -57.03)
CIE-LCHlch(26.62, 65.28, 299.11°)
OKLaboklab(38.02% 0.0023 -0.1649)
OKLCHoklch(38.02% 0.165 270.8)
XYZxyz(7.6055, 4.9595, 30.2561)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263298 #988C26
analogous
#266B98 #263298 #532698
triadic
#263298 #982632 #329826
tetradic
#263298 #98266B #988C26 #269853
square
#263298 #98266B #988C26 #269853
split-complementary
#263298 #985326 #6B9826
monochromatic
#0E1236 #1A2267 #263298 #3242C9 #616DD7

Accessibility & contrast

On white

10.54
#263298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#263298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263298
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263298#FFFFFF#000000##FFFFFF
##2632981.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #263298;
/* rgb */ color: rgb(38, 50, 152);
/* oklch */ color: oklch(38.0% 0.165 270.8);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#263298',
    950: '#000000',
  },
}
SCSS
$custom: #263298;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#263298",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 233.684,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.16494,
    "h": 270.8
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#263298
secondary
#BDB35D
accent
#D245E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263298

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

Preview Lab → · Contrast checker → · Palette generator →

#263298 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva