#263171#263171

#263171 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.111 H 271.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#263171
RGBrgb(38, 49, 113)
HSLhsl(231, 50%, 30%)
HSVhsv(231, 66%, 44%)
CMYKcmyk(66.4%, 56.6%, 0%, 55.7%)
CIE-LABlab(23.00, 17.70, -38.51)
CIE-LCHlch(23.00, 42.38, 294.68°)
OKLaboklab(34.3% 0.0037 -0.1106)
OKLCHoklch(34.3% 0.111 271.9)
XYZxyz(4.8773, 3.8005, 16.0961)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263171 #716626
analogous
#265771 #263171 #412671
triadic
#263171 #712631 #317126
tetradic
#263171 #712657 #716626 #267141
square
#263171 #712657 #716626 #267141
split-complementary
#263171 #714126 #577126
monochromatic
#080A17 #171D43 #263171 #35459F #4E5FC3

Accessibility & contrast

On white

11.93
#263171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#263171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263171
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263171#FFFFFF#000000##FFFFFF
##2631711.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #263171;
/* rgb */ color: rgb(38, 49, 113);
/* oklch */ color: oklch(34.3% 0.111 271.9);
Tailwind
colors: {
  custom: {
    50: '#69689a',
    500: '#263171',
    950: '#000000',
  },
}
SCSS
$custom: #263171;
$custom-light: #69689a;
$custom-dark: #000000;
JSON
{
  "hex": "#263171",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 231.2,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34299,
    "c": 0.11062,
    "h": 271.9
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#263171
secondary
#A4974F
accent
#C54FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263171

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

Preview Lab → · Contrast checker → · Palette generator →

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