#263173#263173

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

Color values

HEX#263173
RGBrgb(38, 49, 115)
HSLhsl(231, 50%, 30%)
HSVhsv(231, 67%, 45%)
CMYKcmyk(67%, 57.4%, 0%, 54.9%)
CIE-LABlab(23.16, 18.46, -39.54)
CIE-LCHlch(23.16, 43.63, 295.03°)
OKLaboklab(34.47% 0.0039 -0.1136)
OKLCHoklch(34.47% 0.114 271.9)
XYZxyz(4.9911, 3.8461, 16.6957)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263173 #736826
analogous
#265773 #263173 #422673
triadic
#263173 #732631 #317326
tetradic
#263173 #732657 #736826 #267342
square
#263173 #732657 #736826 #267342
split-complementary
#263173 #734226 #577326
monochromatic
#080A17 #171D45 #263173 #3545A1 #4F60C5

Accessibility & contrast

On white

11.87
#263173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#263173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263173
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263173#FFFFFF#000000##FFFFFF
##2631731.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013B75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #263173;
/* rgb */ color: rgb(38, 49, 115);
/* oklch */ color: oklch(34.5% 0.114 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a689c',
    500: '#263173',
    950: '#000000',
  },
}
SCSS
$custom: #263173;
$custom-light: #6a689c;
$custom-dark: #000000;
JSON
{
  "hex": "#263173",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 231.429,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.11366,
    "h": 271.9
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#263173
secondary
#A6994F
accent
#C64EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263173

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

Preview Lab → · Contrast checker → · Palette generator →

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