#263181#263181

#263181 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.134 H 271.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#263181
RGBrgb(38, 49, 129)
HSLhsl(233, 54%, 33%)
HSVhsv(233, 71%, 51%)
CMYKcmyk(70.5%, 62%, 0%, 49.4%)
CIE-LABlab(24.30, 23.81, -46.56)
CIE-LCHlch(24.30, 52.29, 297.08°)
OKLaboklab(35.68% 0.0041 -0.1342)
OKLCHoklch(35.68% 0.134 271.8)
XYZxyz(5.8588, 4.1931, 21.2652)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263181 #817626
analogous
#265F81 #263181 #482681
triadic
#263181 #812631 #318126
tetradic
#263181 #81265F #817626 #268148
square
#263181 #81265F #817626 #268148
split-complementary
#263181 #814826 #5F8126
monochromatic
#0A0D22 #181F52 #263181 #3443B0 #5563CD

Accessibility & contrast

On white

11.42
#263181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#263181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263181
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263181#FFFFFF#000000##FFFFFF
##2631811.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #263181;
/* rgb */ color: rgb(38, 49, 129);
/* oklch */ color: oklch(35.7% 0.134 271.8);
Tailwind
colors: {
  custom: {
    50: '#6d69a6',
    500: '#263181',
    950: '#000000',
  },
}
SCSS
$custom: #263181;
$custom-light: #6d69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#263181",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 232.747,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35677,
    "c": 0.13428,
    "h": 271.8
  },
  "luminance": 0.04194
}

Semantic roles & 50–950 ramp

primary
#263181
secondary
#B1A651
accent
#CC4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #263181

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

Preview Lab → · Contrast checker → · Palette generator →

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