#263371#263371

#263371 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.108 H 270.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#263371
RGBrgb(38, 51, 113)
HSLhsl(230, 50%, 30%)
HSVhsv(230, 66%, 44%)
CMYKcmyk(66.4%, 54.9%, 0%, 55.7%)
CIE-LABlab(23.58, 16.29, -37.58)
CIE-LCHlch(23.58, 40.96, 293.44°)
OKLaboklab(34.73% 0.0017 -0.1078)
OKLCHoklch(34.73% 0.108 270.9)
XYZxyz(4.9628, 3.9715, 16.1246)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263371 #716426
analogous
#265971 #263371 #3F2671
triadic
#263371 #712633 #337126
tetradic
#263371 #712659 #716426 #26713F
square
#263371 #712659 #716426 #26713F
split-complementary
#263371 #713F26 #597126
monochromatic
#080A17 #171E43 #263371 #35489F #4E62C3

Accessibility & contrast

On white

11.70
#263371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#263371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263371
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263371#FFFFFF#000000##FFFFFF
##2633711.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3C73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #263371;
/* rgb */ color: rgb(38, 51, 113);
/* oklch */ color: oklch(34.7% 0.108 270.9);
Tailwind
colors: {
  custom: {
    50: '#696a9a',
    500: '#263371',
    950: '#000000',
  },
}
SCSS
$custom: #263371;
$custom-light: #696a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#263371",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 229.6,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.1078,
    "h": 270.9
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#263371
secondary
#A4954F
accent
#C14FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263371

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

Preview Lab → · Contrast checker → · Palette generator →

#263371 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva