#263172#263172

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

Color values

HEX#263172
RGBrgb(38, 49, 114)
HSLhsl(231, 50%, 30%)
HSVhsv(231, 67%, 45%)
CMYKcmyk(66.7%, 57%, 0%, 55.3%)
CIE-LABlab(23.08, 18.08, -39.02)
CIE-LCHlch(23.08, 43.01, 294.86°)
OKLaboklab(34.38% 0.0038 -0.1121)
OKLCHoklch(34.38% 0.112 271.9)
XYZxyz(4.9339, 3.8232, 16.3943)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263172 #726726
analogous
#265772 #263172 #412672
triadic
#263172 #722631 #317226
tetradic
#263172 #722657 #726726 #267241
square
#263172 #722657 #726726 #267241
split-complementary
#263172 #724126 #577226
monochromatic
#080A17 #171D44 #263172 #3545A0 #4E5FC4

Accessibility & contrast

On white

11.90
#263172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263172
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263172#FFFFFF#000000##FFFFFF
##2631721.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033B74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #263172;
/* rgb */ color: rgb(38, 49, 114);
/* oklch */ color: oklch(34.4% 0.112 271.9);
Tailwind
colors: {
  custom: {
    50: '#69689b',
    500: '#263172',
    950: '#000000',
  },
}
SCSS
$custom: #263172;
$custom-light: #69689b;
$custom-dark: #000000;
JSON
{
  "hex": "#263172",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 231.316,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34382,
    "c": 0.11213,
    "h": 271.9
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#263172
secondary
#A5984F
accent
#C54EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263172

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

Preview Lab → · Contrast checker → · Palette generator →

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