#263170#263170

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

Color values

HEX#263170
RGBrgb(38, 49, 112)
HSLhsl(231, 49%, 29%)
HSVhsv(231, 66%, 44%)
CMYKcmyk(66.1%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.92, 17.31, -37.99)
CIE-LCHlch(22.92, 41.75, 294.50°)
OKLaboklab(34.22% 0.0037 -0.109)
OKLCHoklch(34.22% 0.109 271.9)
XYZxyz(4.8213, 3.7781, 15.8013)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263170 #706526
analogous
#265670 #263170 #402670
triadic
#263170 #702631 #317026
tetradic
#263170 #702656 #706526 #267040
square
#263170 #702656 #706526 #267040
split-complementary
#263170 #704026 #567026
monochromatic
#080A17 #161D42 #263170 #36459E #4E5FC3

Accessibility & contrast

On white

11.96
#263170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263170
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263170#FFFFFF#000000##FFFFFF
##2631701.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #263170;
/* rgb */ color: rgb(38, 49, 112);
/* oklch */ color: oklch(34.2% 0.109 271.9);
Tailwind
colors: {
  custom: {
    50: '#69689a',
    500: '#263170',
    950: '#000000',
  },
}
SCSS
$custom: #263170;
$custom-light: #69689a;
$custom-dark: #000000;
JSON
{
  "hex": "#263170",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 231.081,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34217,
    "c": 0.10909,
    "h": 271.9
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#263170
secondary
#A3964F
accent
#C44FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263170

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

Preview Lab → · Contrast checker → · Palette generator →

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