#262A67#262A67

#262A67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.105 H 275.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#262A67
RGBrgb(38, 42, 103)
HSLhsl(236, 46%, 28%)
HSVhsv(236, 63%, 40%)
CMYKcmyk(63.1%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.23, 18.82, -36.52)
CIE-LCHlch(20.23, 41.09, 297.27°)
OKLaboklab(31.98% 0.0107 -0.1048)
OKLCHoklch(31.98% 0.105 275.9)
XYZxyz(4.0747, 3.0470, 13.2027)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A67 #676326
analogous
#264A67 #262A67 #432667
triadic
#262A67 #67262A #2A6726
tetradic
#262A67 #67264A #676326 #266743
square
#262A67 #67264A #676326 #266743
split-complementary
#262A67 #674326 #4A6726
monochromatic
#080916 #16183A #262A67 #363C94 #4B52BD

Accessibility & contrast

On white

13.05
#262A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#262A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A67
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A67#FFFFFF#000000##FFFFFF
##262A671.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262a67;
/* rgb */ color: rgb(38, 42, 103);
/* oklch */ color: oklch(32.0% 0.105 275.9);
Tailwind
colors: {
  custom: {
    50: '#686393',
    500: '#262a67',
    950: '#000000',
  },
}
SCSS
$custom: #262a67;
$custom-light: #686393;
$custom-dark: #000000;
JSON
{
  "hex": "#262a67",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 236.308,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31978,
    "c": 0.10535,
    "h": 275.9
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#262A67
secondary
#9A954F
accent
#CE52D6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #262A67

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

Preview Lab → · Contrast checker → · Palette generator →

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