#262C6C#262C6C

#262C6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.110 H 274.6°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#262C6C
RGBrgb(38, 44, 108)
HSLhsl(235, 48%, 29%)
HSVhsv(235, 65%, 42%)
CMYKcmyk(64.8%, 59.3%, 0%, 57.6%)
CIE-LABlab(21.19, 19.30, -38.22)
CIE-LCHlch(21.19, 42.82, 296.80°)
OKLaboklab(32.82% 0.0087 -0.1098)
OKLCHoklch(32.82% 0.11 274.6)
XYZxyz(4.4059, 3.2958, 14.5884)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C6C #6C6626
analogous
#264F6C #262C6C #43266C
triadic
#262C6C #6C262C #2C6C26
tetradic
#262C6C #6C264F #6C6626 #266C43
square
#262C6C #6C264F #6C6626 #266C43
split-complementary
#262C6C #6C4326 #4F6C26
monochromatic
#080917 #161A3F #262C6C #363E99 #4C56C0

Accessibility & contrast

On white

12.66
#262C6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#262C6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C6C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C6C#FFFFFF#000000##FFFFFF
##262C6C1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262c6c;
/* rgb */ color: rgb(38, 44, 108);
/* oklch */ color: oklch(32.8% 0.110 274.6);
Tailwind
colors: {
  custom: {
    50: '#696597',
    500: '#262c6c',
    950: '#000000',
  },
}
SCSS
$custom: #262c6c;
$custom-light: #696597;
$custom-dark: #000000;
JSON
{
  "hex": "#262c6c",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 234.857,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3282,
    "c": 0.11011,
    "h": 274.6
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#262C6C
secondary
#9F984F
accent
#CC50D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #262C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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