#262C67#262C67

#262C67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.102 H 274.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#262C67
RGBrgb(38, 44, 103)
HSLhsl(234, 46%, 28%)
HSVhsv(234, 63%, 40%)
CMYKcmyk(63.1%, 57.3%, 0%, 59.6%)
CIE-LABlab(20.80, 17.41, -35.61)
CIE-LCHlch(20.80, 39.64, 296.06°)
OKLaboklab(32.4% 0.0085 -0.1021)
OKLCHoklch(32.4% 0.102 274.8)
XYZxyz(4.1474, 3.1924, 13.2270)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C67 #676126
analogous
#264C67 #262C67 #412667
triadic
#262C67 #67262C #2C6726
tetradic
#262C67 #67264C #676126 #266741
square
#262C67 #67264C #676126 #266741
split-complementary
#262C67 #674126 #4C6726
monochromatic
#080A16 #16193A #262C67 #363F94 #4B55BD

Accessibility & contrast

On white

12.82
#262C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#262C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C67
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C67#FFFFFF#000000##FFFFFF
##262C671.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063569
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262c67;
/* rgb */ color: rgb(38, 44, 103);
/* oklch */ color: oklch(32.4% 0.102 274.8);
Tailwind
colors: {
  custom: {
    50: '#676593',
    500: '#262c67',
    950: '#000000',
  },
}
SCSS
$custom: #262c67;
$custom-light: #676593;
$custom-dark: #000000;
JSON
{
  "hex": "#262c67",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 234.462,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32402,
    "c": 0.10244,
    "h": 274.8
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#262C67
secondary
#9A934F
accent
#CA52D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #262C67

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

Preview Lab → · Contrast checker → · Palette generator →

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