#263198#263198

#263198 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.166 H 271.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#263198
RGBrgb(38, 49, 152)
HSLhsl(234, 60%, 37%)
HSVhsv(234, 75%, 60%)
CMYKcmyk(75%, 67.8%, 0%, 40.4%)
CIE-LABlab(26.38, 32.41, -57.43)
CIE-LCHlch(26.38, 65.94, 299.44°)
OKLaboklab(37.84% 0.0029 -0.1661)
OKLCHoklch(37.84% 0.166 271)
XYZxyz(7.5632, 4.8749, 30.2420)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263198 #988D26
analogous
#266A98 #263198 #542698
triadic
#263198 #982631 #319826
tetradic
#263198 #98266A #988D26 #269854
square
#263198 #98266A #988D26 #269854
split-complementary
#263198 #985426 #6A9826
monochromatic
#0E1136 #1A2167 #263198 #3241C9 #616CD7

Accessibility & contrast

On white

10.63
#263198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#263198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263198
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263198#FFFFFF#000000##FFFFFF
##2631981.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #263198;
/* rgb */ color: rgb(38, 49, 152);
/* oklch */ color: oklch(37.8% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#7369b7',
    500: '#263198',
    950: '#000000',
  },
}
SCSS
$custom: #263198;
$custom-light: #7369b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263198",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 234.211,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37842,
    "c": 0.16612,
    "h": 271
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#263198
secondary
#BDB45D
accent
#D445E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263198

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

Preview Lab → · Contrast checker → · Palette generator →

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