#263157#263157

#263157 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.069 H 270.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#263157
RGBrgb(38, 49, 87)
HSLhsl(227, 39%, 25%)
HSVhsv(227, 56%, 34%)
CMYKcmyk(56.3%, 43.7%, 0%, 65.9%)
CIE-LABlab(21.19, 7.86, -24.45)
CIE-LCHlch(21.19, 25.69, 287.83°)
OKLaboklab(32.35% 0 -0.0693)
OKLCHoklch(32.35% 0.069 270)
XYZxyz(3.6174, 3.2966, 9.4607)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263157 #574C26
analogous
#264A57 #263157 #342657
triadic
#263157 #572631 #315726
tetradic
#263157 #57264A #574C26 #265734
square
#263157 #57264A #574C26 #265734
split-complementary
#263157 #573426 #4A5726
monochromatic
#090C15 #13192C #263157 #394982 #4B61AC

Accessibility & contrast

On white

12.66
#263157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#263157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263157
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263157#FFFFFF#000000##FFFFFF
##2631571.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223558
Deuteranopia (green-blind)
#1C3156
Tritanopia (blue-blind)
#0F393F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #263157;
/* rgb */ color: rgb(38, 49, 87);
/* oklch */ color: oklch(32.3% 0.069 270.0);
Tailwind
colors: {
  custom: {
    50: '#646886',
    500: '#263157',
    950: '#000000',
  },
}
SCSS
$custom: #263157;
$custom-light: #646886;
$custom-dark: #000000;
JSON
{
  "hex": "#263157",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 226.531,
    "s": 39.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.06927,
    "h": 270
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#263157
secondary
#8A7D4F
accent
#B559CF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #263157

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

Preview Lab → · Contrast checker → · Palette generator →

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