#262C6B#262C6B

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

Color values

HEX#262C6B
RGBrgb(38, 44, 107)
HSLhsl(235, 48%, 28%)
HSVhsv(235, 64%, 42%)
CMYKcmyk(64.5%, 58.9%, 0%, 58%)
CIE-LABlab(21.11, 18.93, -37.70)
CIE-LCHlch(21.11, 42.18, 296.66°)
OKLaboklab(32.74% 0.0087 -0.1082)
OKLCHoklch(32.74% 0.109 274.6)
XYZxyz(4.3530, 3.2746, 14.3097)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C6B #6B6526
analogous
#264E6B #262C6B #42266B
triadic
#262C6B #6B262C #2C6B26
tetradic
#262C6B #6B264E #6B6526 #266B42
square
#262C6B #6B264E #6B6526 #266B42
split-complementary
#262C6B #6B4226 #4E6B26
monochromatic
#080917 #16193E #262C6B #363F98 #4C56BF

Accessibility & contrast

On white

12.69
#262C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C6B
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C6B#FFFFFF#000000##FFFFFF
##262C6B1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262c6b;
/* rgb */ color: rgb(38, 44, 107);
/* oklch */ color: oklch(32.7% 0.109 274.6);
Tailwind
colors: {
  custom: {
    50: '#686596',
    500: '#262c6b',
    950: '#000000',
  },
}
SCSS
$custom: #262c6b;
$custom-light: #686596;
$custom-dark: #000000;
JSON
{
  "hex": "#262c6b",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 234.783,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32736,
    "c": 0.10859,
    "h": 274.6
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#262C6B
secondary
#9E974F
accent
#CB51D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #262C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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