#263F8B#263F8B

#263F8B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.130 H 266.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#263F8B
RGBrgb(38, 63, 139)
HSLhsl(225, 57%, 35%)
HSVhsv(225, 73%, 55%)
CMYKcmyk(72.7%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.98, 18.03, -45.18)
CIE-LCHlch(28.98, 48.65, 291.75°)
OKLaboklab(39.43% -0.0077 -0.13)
OKLCHoklch(39.43% 0.13 266.6)
XYZxyz(7.2354, 5.8304, 25.1652)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F8B #8B7226
analogous
#26718B #263F8B #40268B
triadic
#263F8B #8B263F #3F8B26
tetradic
#263F8B #8B2671 #8B7226 #268B40
square
#263F8B #8B2671 #8B7226 #268B40
split-complementary
#263F8B #8B4026 #718B26
monochromatic
#0C132B #19295B #263F8B #3355BB #5A77D2

Accessibility & contrast

On white

9.69
#263F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#263F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F8B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F8B#FFFFFF#000000##FFFFFF
##263F8B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #263f8b;
/* rgb */ color: rgb(38, 63, 139);
/* oklch */ color: oklch(39.4% 0.130 266.6);
Tailwind
colors: {
  custom: {
    50: '#6e73ad',
    500: '#263f8b',
    950: '#000000',
  },
}
SCSS
$custom: #263f8b;
$custom-light: #6e73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#263f8b",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 225.149,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.13022,
    "h": 266.6
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#263F8B
secondary
#B79F56
accent
#BA47E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #263F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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