#263F9B#263F9B

#263F9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.153 H 267.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#263F9B
RGBrgb(38, 63, 155)
HSLhsl(227, 61%, 38%)
HSVhsv(227, 75%, 61%)
CMYKcmyk(75.5%, 59.4%, 0%, 39.2%)
CIE-LABlab(30.24, 24.22, -52.95)
CIE-LCHlch(30.24, 58.22, 294.58°)
OKLaboklab(40.77% -0.0068 -0.1528)
OKLCHoklch(40.77% 0.153 267.5)
XYZxyz(8.4912, 6.3327, 31.7788)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F9B #9B8226
analogous
#267A9B #263F9B #47269B
triadic
#263F9B #9B263F #3F9B26
tetradic
#263F9B #9B267A #9B8226 #269B47
square
#263F9B #9B267A #9B8226 #269B47
split-complementary
#263F9B #9B4726 #7A9B26
monochromatic
#0E1739 #1A2B6A #263F9B #3253CC #637CD9

Accessibility & contrast

On white

9.26
#263F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#263F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F9B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F9B#FFFFFF#000000##FFFFFF
##263F9B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263f9b;
/* rgb */ color: rgb(38, 63, 155);
/* oklch */ color: oklch(40.8% 0.153 267.5);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#263f9b',
    950: '#000000',
  },
}
SCSS
$custom: #263f9b;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#263f9b",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 227.179,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.15296,
    "h": 267.5
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#263F9B
secondary
#BEAA5F
accent
#C244E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #263F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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