#263F9A#263F9A

#263F9A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.152 H 267.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#263F9A
RGBrgb(38, 63, 154)
HSLhsl(227, 60%, 38%)
HSVhsv(227, 75%, 60%)
CMYKcmyk(75.3%, 59.1%, 0%, 39.6%)
CIE-LABlab(30.16, 23.84, -52.47)
CIE-LCHlch(30.16, 57.63, 294.43°)
OKLaboklab(40.69% -0.0068 -0.1514)
OKLCHoklch(40.69% 0.152 267.4)
XYZxyz(8.4075, 6.2993, 31.3384)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F9A #9A8126
analogous
#26799A #263F9A #47269A
triadic
#263F9A #9A263F #3F9A26
tetradic
#263F9A #9A2679 #9A8126 #269A47
square
#263F9A #9A2679 #9A8126 #269A47
split-complementary
#263F9A #9A4726 #799A26
monochromatic
#0E1738 #1A2B69 #263F9A #3253CB #627CD8

Accessibility & contrast

On white

9.29
#263F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#263F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F9A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F9A#FFFFFF#000000##FFFFFF
##263F9A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #263f9a;
/* rgb */ color: rgb(38, 63, 154);
/* oklch */ color: oklch(40.7% 0.152 267.4);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#263f9a',
    950: '#000000',
  },
}
SCSS
$custom: #263f9a;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#263f9a",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 227.069,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.15156,
    "h": 267.4
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#263F9A
secondary
#BEA95E
accent
#C144E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #263F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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