#263F78#263F78

#263F78 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.102 H 264.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#263F78
RGBrgb(38, 63, 120)
HSLhsl(222, 52%, 31%)
HSVhsv(222, 68%, 47%)
CMYKcmyk(68.3%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.63, 10.63, -35.50)
CIE-LCHlch(27.63, 37.05, 286.67°)
OKLaboklab(37.98% -0.0101 -0.1015)
OKLCHoklch(37.98% 0.102 264.3)
XYZxyz(5.9658, 5.3226, 18.4786)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F78 #785F26
analogous
#266878 #263F78 #362678
triadic
#263F78 #78263F #3F7826
tetradic
#263F78 #782668 #785F26 #267836
square
#263F78 #782668 #785F26 #267836
split-complementary
#263F78 #783626 #687826
monochromatic
#090E1B #17274A #263F78 #3557A6 #5175C8

Accessibility & contrast

On white

10.17
#263F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#263F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F78
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F78#FFFFFF#000000##FFFFFF
##263F781.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#143E77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #263f78;
/* rgb */ color: rgb(38, 63, 120);
/* oklch */ color: oklch(38.0% 0.102 264.3);
Tailwind
colors: {
  custom: {
    50: '#6a739f',
    500: '#263f78',
    950: '#000000',
  },
}
SCSS
$custom: #263f78;
$custom-light: #6a739f;
$custom-dark: #000000;
JSON
{
  "hex": "#263f78",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 221.707,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37979,
    "c": 0.102,
    "h": 264.3
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#263F78
secondary
#AA8F50
accent
#B04CDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #263F78

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

Preview Lab → · Contrast checker → · Palette generator →

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