#264096#264096

#264096 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.145 H 266.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#264096
RGBrgb(38, 64, 150)
HSLhsl(226, 60%, 37%)
HSVhsv(226, 75%, 59%)
CMYKcmyk(74.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.11, 21.61, -50.11)
CIE-LCHlch(30.11, 54.57, 293.33°)
OKLaboklab(40.55% -0.0077 -0.1445)
OKLCHoklch(40.55% 0.145 266.9)
XYZxyz(8.1358, 6.2800, 29.6316)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264096 #967C26
analogous
#267896 #264096 #442696
triadic
#264096 #962640 #409626
tetradic
#264096 #962678 #967C26 #269644
square
#264096 #962678 #967C26 #269644
split-complementary
#264096 #964426 #789626
monochromatic
#0D1634 #1A2B65 #264096 #3255C7 #607BD7

Accessibility & contrast

On white

9.31
#264096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#264096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264096
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264096#FFFFFF#000000##FFFFFF
##2640961.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #264096;
/* rgb */ color: rgb(38, 64, 150);
/* oklch */ color: oklch(40.6% 0.145 266.9);
Tailwind
colors: {
  custom: {
    50: '#7174b6',
    500: '#264096',
    950: '#000000',
  },
}
SCSS
$custom: #264096;
$custom-light: #7174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#264096",
  "rgb": {
    "r": 38,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 226.071,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.14467,
    "h": 266.9
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#264096
secondary
#BCA65C
accent
#BE45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #264096

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

Preview Lab → · Contrast checker → · Palette generator →

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