#263197#263197

#263197 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.165 H 271.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#263197
RGBrgb(38, 49, 151)
HSLhsl(234, 60%, 37%)
HSVhsv(234, 75%, 59%)
CMYKcmyk(74.8%, 67.5%, 0%, 40.8%)
CIE-LABlab(26.28, 32.04, -56.97)
CIE-LCHlch(26.28, 65.36, 299.35°)
OKLaboklab(37.74% 0.003 -0.1647)
OKLCHoklch(37.74% 0.165 271.1)
XYZxyz(7.4817, 4.8423, 29.8125)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263197 #978C26
analogous
#266A97 #263197 #532697
triadic
#263197 #972631 #319726
tetradic
#263197 #97266A #978C26 #269753
square
#263197 #97266A #978C26 #269753
split-complementary
#263197 #975326 #6A9726
monochromatic
#0D1135 #1A2166 #263197 #3241C8 #606CD7

Accessibility & contrast

On white

10.67
#263197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#263197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263197
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263197#FFFFFF#000000##FFFFFF
##2631971.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #263197;
/* rgb */ color: rgb(38, 49, 151);
/* oklch */ color: oklch(37.7% 0.165 271.1);
Tailwind
colors: {
  custom: {
    50: '#7269b7',
    500: '#263197',
    950: '#000000',
  },
}
SCSS
$custom: #263197;
$custom-light: #7269b7;
$custom-dark: #000000;
JSON
{
  "hex": "#263197",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 234.159,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37744,
    "c": 0.16478,
    "h": 271.1
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#263197
secondary
#BCB35C
accent
#D445E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263197

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

Preview Lab → · Contrast checker → · Palette generator →

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