#262B66#262B66

#262B66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.102 H 275.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#262B66
RGBrgb(38, 43, 102)
HSLhsl(235, 46%, 27%)
HSVhsv(235, 63%, 40%)
CMYKcmyk(62.7%, 57.8%, 0%, 60%)
CIE-LABlab(20.44, 17.74, -35.54)
CIE-LCHlch(20.44, 39.72, 296.53°)
OKLaboklab(32.1% 0.0096 -0.1019)
OKLCHoklch(32.1% 0.102 275.4)
XYZxyz(4.0607, 3.0988, 12.9519)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B66 #666126
analogous
#264B66 #262B66 #412666
triadic
#262B66 #66262B #2B6626
tetradic
#262B66 #66264B #666126 #266641
square
#262B66 #66264B #666126 #266641
split-complementary
#262B66 #664126 #4B6626
monochromatic
#080916 #151839 #262B66 #373E93 #4B53BC

Accessibility & contrast

On white

12.96
#262B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B66
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B66#FFFFFF#000000##FFFFFF
##262B661.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262b66;
/* rgb */ color: rgb(38, 43, 102);
/* oklch */ color: oklch(32.1% 0.102 275.4);
Tailwind
colors: {
  custom: {
    50: '#676492',
    500: '#262b66',
    950: '#000000',
  },
}
SCSS
$custom: #262b66;
$custom-light: #676492;
$custom-dark: #000000;
JSON
{
  "hex": "#262b66",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 235.313,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32105,
    "c": 0.10235,
    "h": 275.4
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#262B66
secondary
#99934F
accent
#CB52D5
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #262B66

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

Preview Lab → · Contrast checker → · Palette generator →

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