#263161#263161

#263161 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.086 H 271.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#263161
RGBrgb(38, 49, 97)
HSLhsl(229, 44%, 26%)
HSVhsv(229, 61%, 38%)
CMYKcmyk(60.8%, 49.5%, 0%, 62%)
CIE-LABlab(21.84, 11.60, -30.01)
CIE-LCHlch(21.84, 32.17, 291.13°)
OKLaboklab(33.05% 0.002 -0.0856)
OKLCHoklch(33.05% 0.086 271.3)
XYZxyz(4.0546, 3.4715, 11.7633)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263161 #615626
analogous
#264F61 #263161 #392661
triadic
#263161 #612631 #316126
tetradic
#263161 #61264F #615626 #266139
square
#263161 #61264F #615626 #266139
split-complementary
#263161 #613926 #4F6126
monochromatic
#090B16 #151B35 #263161 #37478D #4A5EB8

Accessibility & contrast

On white

12.39
#263161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#263161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263161
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263161#FFFFFF#000000##FFFFFF
##2631611.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3763
Deuteranopia (green-blind)
#133260
Tritanopia (blue-blind)
#023C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #263161;
/* rgb */ color: rgb(38, 49, 97);
/* oklch */ color: oklch(33.1% 0.086 271.3);
Tailwind
colors: {
  custom: {
    50: '#66688e',
    500: '#263161',
    950: '#000000',
  },
}
SCSS
$custom: #263161;
$custom-light: #66688e;
$custom-dark: #000000;
JSON
{
  "hex": "#263161",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 228.814,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.08559,
    "h": 271.3
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#263161
secondary
#94874F
accent
#BC54D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #263161

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

Preview Lab → · Contrast checker → · Palette generator →

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