#263E98#263E98

#263E98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.150 H 267.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#263E98
RGBrgb(38, 62, 152)
HSLhsl(227, 60%, 37%)
HSVhsv(227, 75%, 60%)
CMYKcmyk(75%, 59.2%, 0%, 40.4%)
CIE-LABlab(29.72, 23.75, -51.96)
CIE-LCHlch(29.72, 57.13, 294.56°)
OKLaboklab(40.31% -0.0061 -0.1499)
OKLCHoklch(40.31% 0.15 267.7)
XYZxyz(8.1875, 6.1234, 30.4501)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263E98 #988026
analogous
#267798 #263E98 #472698
triadic
#263E98 #98263E #3E9826
tetradic
#263E98 #982677 #988026 #269847
square
#263E98 #982677 #988026 #269847
split-complementary
#263E98 #984726 #779826
monochromatic
#0E1636 #1A2A67 #263E98 #3252C9 #617AD7

Accessibility & contrast

On white

9.44
#263E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#263E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263E98
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263E98#FFFFFF#000000##FFFFFF
##263E981.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #263e98;
/* rgb */ color: rgb(38, 62, 152);
/* oklch */ color: oklch(40.3% 0.150 267.7);
Tailwind
colors: {
  custom: {
    50: '#7172b7',
    500: '#263e98',
    950: '#000000',
  },
}
SCSS
$custom: #263e98;
$custom-light: #7172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263e98",
  "rgb": {
    "r": 38,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 227.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.15004,
    "h": 267.7
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#263E98
secondary
#BDA95D
accent
#C245E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #263E98

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

Preview Lab → · Contrast checker → · Palette generator →

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