#262C69#262C69

#262C69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.106 H 274.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#262C69
RGBrgb(38, 44, 105)
HSLhsl(235, 47%, 28%)
HSVhsv(235, 64%, 41%)
CMYKcmyk(63.8%, 58.1%, 0%, 58.8%)
CIE-LABlab(20.95, 18.17, -36.66)
CIE-LCHlch(20.95, 40.91, 296.37°)
OKLaboklab(32.57% 0.0086 -0.1052)
OKLCHoklch(32.57% 0.106 274.7)
XYZxyz(4.2490, 3.2330, 13.7620)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C69 #696326
analogous
#264D69 #262C69 #412669
triadic
#262C69 #69262C #2C6926
tetradic
#262C69 #69264D #696326 #266941
square
#262C69 #69264D #696326 #266941
split-complementary
#262C69 #694126 #4D6926
monochromatic
#080916 #16193C #262C69 #363F96 #4B56BE

Accessibility & contrast

On white

12.75
#262C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C69
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C69#FFFFFF#000000##FFFFFF
##262C691.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02356B
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262c69;
/* rgb */ color: rgb(38, 44, 105);
/* oklch */ color: oklch(32.6% 0.106 274.7);
Tailwind
colors: {
  custom: {
    50: '#686594',
    500: '#262c69',
    950: '#000000',
  },
}
SCSS
$custom: #262c69;
$custom-light: #686594;
$custom-dark: #000000;
JSON
{
  "hex": "#262c69",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 234.627,
    "s": 46.853,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32568,
    "c": 0.10552,
    "h": 274.7
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#262C69
secondary
#9C954F
accent
#CB51D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #262C69

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

Preview Lab → · Contrast checker → · Palette generator →

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