#262C65#262C65

#262C65 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.099 H 274.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#262C65
RGBrgb(38, 44, 101)
HSLhsl(234, 45%, 27%)
HSVhsv(234, 62%, 40%)
CMYKcmyk(62.4%, 56.4%, 0%, 60.4%)
CIE-LABlab(20.65, 16.66, -34.55)
CIE-LCHlch(20.65, 38.36, 295.74°)
OKLaboklab(32.24% 0.0084 -0.099)
OKLCHoklch(32.24% 0.099 274.9)
XYZxyz(4.0482, 3.1527, 12.7046)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C65 #655F26
analogous
#264C65 #262C65 #402665
triadic
#262C65 #65262C #2C6526
tetradic
#262C65 #65264C #655F26 #266540
square
#262C65 #65264C #655F26 #266540
split-complementary
#262C65 #654026 #4C6526
monochromatic
#080A16 #151939 #262C65 #373F91 #4A55BB

Accessibility & contrast

On white

12.88
#262C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#262C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C65
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C65#FFFFFF#000000##FFFFFF
##262C651.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093467
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262c65;
/* rgb */ color: rgb(38, 44, 101);
/* oklch */ color: oklch(32.2% 0.099 274.9);
Tailwind
colors: {
  custom: {
    50: '#676591',
    500: '#262c65',
    950: '#000000',
  },
}
SCSS
$custom: #262c65;
$custom-light: #676591;
$custom-dark: #000000;
JSON
{
  "hex": "#262c65",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 234.286,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32238,
    "c": 0.09933,
    "h": 274.9
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#262C65
secondary
#98914F
accent
#C953D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #262C65

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

Preview Lab → · Contrast checker → · Palette generator →

#262C65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva