#263397#263397

#263397 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.162 H 270.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#263397
RGBrgb(38, 51, 151)
HSLhsl(233, 60%, 37%)
HSVhsv(233, 75%, 59%)
CMYKcmyk(74.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.77, 30.73, -56.17)
CIE-LCHlch(26.77, 64.02, 298.69°)
OKLaboklab(38.1% 0.0017 -0.1624)
OKLCHoklch(38.1% 0.162 270.6)
XYZxyz(7.5672, 5.0133, 29.8410)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263397 #978A26
analogous
#266C97 #263397 #512697
triadic
#263397 #972633 #339726
tetradic
#263397 #97266C #978A26 #269751
square
#263397 #97266C #978A26 #269751
split-complementary
#263397 #975126 #6C9726
monochromatic
#0D1235 #1A2266 #263397 #3244C8 #606ED7

Accessibility & contrast

On white

10.49
#263397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#263397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263397
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263397#FFFFFF#000000##FFFFFF
##2633971.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #263397;
/* rgb */ color: rgb(38, 51, 151);
/* oklch */ color: oklch(38.1% 0.162 270.6);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#263397',
    950: '#000000',
  },
}
SCSS
$custom: #263397;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#263397",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 233.097,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38103,
    "c": 0.16239,
    "h": 270.6
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#263397
secondary
#BCB15C
accent
#D145E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263397

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

Preview Lab → · Contrast checker → · Palette generator →

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