#263898#263898

#263898 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.158 H 269.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#263898
RGBrgb(38, 56, 152)
HSLhsl(231, 60%, 37%)
HSVhsv(231, 75%, 60%)
CMYKcmyk(75%, 63.2%, 0%, 40.4%)
CIE-LABlab(28.13, 27.79, -54.55)
CIE-LCHlch(28.13, 61.22, 296.99°)
OKLaboklab(39.13% -0.0017 -0.1576)
OKLCHoklch(39.13% 0.158 269.4)
XYZxyz(7.8791, 5.5066, 30.3473)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263898 #988626
analogous
#267198 #263898 #4D2698
triadic
#263898 #982638 #389826
tetradic
#263898 #982671 #988626 #26984D
square
#263898 #982671 #988626 #26984D
split-complementary
#263898 #984D26 #719826
monochromatic
#0E1436 #1A2667 #263898 #324AC9 #6174D7

Accessibility & contrast

On white

9.99
#263898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#263898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263898
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263898#FFFFFF#000000##FFFFFF
##2638981.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #263898;
/* rgb */ color: rgb(38, 56, 152);
/* oklch */ color: oklch(39.1% 0.158 269.4);
Tailwind
colors: {
  custom: {
    50: '#726eb7',
    500: '#263898',
    950: '#000000',
  },
}
SCSS
$custom: #263898;
$custom-light: #726eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#263898",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 230.526,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39131,
    "c": 0.15762,
    "h": 269.4
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#263898
secondary
#BDAE5D
accent
#CA45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263898

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

Preview Lab → · Contrast checker → · Palette generator →

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