#263F98#263F98

#263F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.149 H 267.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#263F98
RGBrgb(38, 63, 152)
HSLhsl(227, 60%, 37%)
HSVhsv(227, 75%, 60%)
CMYKcmyk(75%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.99, 23.07, -51.52)
CIE-LCHlch(29.99, 56.45, 294.12°)
OKLaboklab(40.52% -0.0069 -0.1486)
OKLCHoklch(40.52% 0.149 267.4)
XYZxyz(8.2424, 6.2332, 30.4684)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F98 #987F26
analogous
#267898 #263F98 #462698
triadic
#263F98 #98263F #3F9826
tetradic
#263F98 #982678 #987F26 #269846
square
#263F98 #982678 #987F26 #269846
split-complementary
#263F98 #984626 #789826
monochromatic
#0E1636 #1A2B67 #263F98 #3253C9 #617BD7

Accessibility & contrast

On white

9.35
#263F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#263F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F98
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F98#FFFFFF#000000##FFFFFF
##263F981.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #263f98;
/* rgb */ color: rgb(38, 63, 152);
/* oklch */ color: oklch(40.5% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#7173b7',
    500: '#263f98',
    950: '#000000',
  },
}
SCSS
$custom: #263f98;
$custom-light: #7173b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263f98",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 226.842,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.14877,
    "h": 267.4
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#263F98
secondary
#BDA85D
accent
#C045E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #263F98

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

Preview Lab → · Contrast checker → · Palette generator →

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