#263271#263271

#263271 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.109 H 271.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#263271
RGBrgb(38, 50, 113)
HSLhsl(230, 50%, 30%)
HSVhsv(230, 66%, 44%)
CMYKcmyk(66.4%, 55.8%, 0%, 55.7%)
CIE-LABlab(23.29, 16.99, -38.04)
CIE-LCHlch(23.29, 41.67, 294.07°)
OKLaboklab(34.52% 0.0027 -0.1092)
OKLCHoklch(34.52% 0.109 271.4)
XYZxyz(4.9196, 3.8851, 16.1102)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263271 #716526
analogous
#265871 #263271 #402671
triadic
#263271 #712632 #327126
tetradic
#263271 #712658 #716526 #267140
square
#263271 #712658 #716526 #267140
split-complementary
#263271 #714026 #587126
monochromatic
#080A17 #171E43 #263271 #35469F #4E61C3

Accessibility & contrast

On white

11.82
#263271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#263271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263271
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263271#FFFFFF#000000##FFFFFF
##2632711.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #263271;
/* rgb */ color: rgb(38, 50, 113);
/* oklch */ color: oklch(34.5% 0.109 271.4);
Tailwind
colors: {
  custom: {
    50: '#69699a',
    500: '#263271',
    950: '#000000',
  },
}
SCSS
$custom: #263271;
$custom-light: #69699a;
$custom-dark: #000000;
JSON
{
  "hex": "#263271",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 230.4,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34515,
    "c": 0.10921,
    "h": 271.4
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#263271
secondary
#A4964F
accent
#C34FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263271

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

Preview Lab → · Contrast checker → · Palette generator →

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