#263162#263162

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

Color values

HEX#263162
RGBrgb(38, 49, 98)
HSLhsl(229, 44%, 27%)
HSVhsv(229, 61%, 38%)
CMYKcmyk(61.2%, 50%, 0%, 61.6%)
CIE-LABlab(21.91, 11.98, -30.56)
CIE-LCHlch(21.91, 32.82, 291.40°)
OKLaboklab(33.12% 0.0021 -0.0872)
OKLCHoklch(33.12% 0.087 271.4)
XYZxyz(4.1015, 3.4902, 12.0105)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263162 #625726
analogous
#264F62 #263162 #392662
triadic
#263162 #622631 #316226
tetradic
#263162 #62264F #625726 #266239
square
#263162 #62264F #625726 #266239
split-complementary
#263162 #623926 #4F6226
monochromatic
#090B16 #151B36 #263162 #37478E #4A5EB9

Accessibility & contrast

On white

12.37
#263162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#263162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263162
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263162#FFFFFF#000000##FFFFFF
##2631621.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #263162;
/* rgb */ color: rgb(38, 49, 98);
/* oklch */ color: oklch(33.1% 0.087 271.4);
Tailwind
colors: {
  custom: {
    50: '#66688f',
    500: '#263162',
    950: '#000000',
  },
}
SCSS
$custom: #263162;
$custom-light: #66688f;
$custom-dark: #000000;
JSON
{
  "hex": "#263162",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 229,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33124,
    "c": 0.0872,
    "h": 271.4
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#263162
secondary
#95884F
accent
#BC54D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #263162

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

Preview Lab → · Contrast checker → · Palette generator →

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