#262B68#262B68

#262B68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.105 H 275.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#262B68
RGBrgb(38, 43, 104)
HSLhsl(235, 46%, 28%)
HSVhsv(235, 63%, 41%)
CMYKcmyk(63.5%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.59, 18.50, -36.59)
CIE-LCHlch(20.59, 41.00, 296.82°)
OKLaboklab(32.27% 0.0097 -0.105)
OKLCHoklch(32.27% 0.105 275.3)
XYZxyz(4.1611, 3.1390, 13.4806)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B68 #686326
analogous
#264C68 #262B68 #422668
triadic
#262B68 #68262B #2B6826
tetradic
#262B68 #68264C #686326 #266842
square
#262B68 #68264C #686326 #266842
split-complementary
#262B68 #684226 #4C6826
monochromatic
#080916 #16183B #262B68 #363E95 #4B54BD

Accessibility & contrast

On white

12.90
#262B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B68
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B68#FFFFFF#000000##FFFFFF
##262B681.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262b68;
/* rgb */ color: rgb(38, 43, 104);
/* oklch */ color: oklch(32.3% 0.105 275.3);
Tailwind
colors: {
  custom: {
    50: '#686494',
    500: '#262b68',
    950: '#000000',
  },
}
SCSS
$custom: #262b68;
$custom-light: #686494;
$custom-dark: #000000;
JSON
{
  "hex": "#262b68",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 235.455,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.10544,
    "h": 275.3
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#262B68
secondary
#9B954F
accent
#CC52D6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #262B68

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

Preview Lab → · Contrast checker → · Palette generator →

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