#262E66#262E66

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

Color values

HEX#262E66
RGBrgb(38, 46, 102)
HSLhsl(233, 46%, 27%)
HSVhsv(233, 63%, 40%)
CMYKcmyk(62.7%, 54.9%, 0%, 60%)
CIE-LABlab(21.30, 15.62, -34.14)
CIE-LCHlch(21.30, 37.55, 294.58°)
OKLaboklab(32.76% 0.0062 -0.0977)
OKLCHoklch(32.76% 0.098 273.6)
XYZxyz(4.1738, 3.3250, 12.9896)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E66 #665E26
analogous
#264E66 #262E66 #3E2666
triadic
#262E66 #66262E #2E6626
tetradic
#262E66 #66264E #665E26 #26663E
square
#262E66 #66264E #665E26 #26663E
split-complementary
#262E66 #663E26 #4E6626
monochromatic
#080A16 #151A39 #262E66 #374293 #4B59BC

Accessibility & contrast

On white

12.61
#262E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E66
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E66#FFFFFF#000000##FFFFFF
##262E661.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3668
Deuteranopia (green-blind)
#013065
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262e66;
/* rgb */ color: rgb(38, 46, 102);
/* oklch */ color: oklch(32.8% 0.098 273.6);
Tailwind
colors: {
  custom: {
    50: '#676692',
    500: '#262e66',
    950: '#000000',
  },
}
SCSS
$custom: #262e66;
$custom-light: #676692;
$custom-dark: #000000;
JSON
{
  "hex": "#262e66",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 232.5,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32756,
    "c": 0.09795,
    "h": 273.6
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#262E66
secondary
#99904F
accent
#C552D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #262E66

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

Preview Lab → · Contrast checker → · Palette generator →

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