#262A68#262A68

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

Color values

HEX#262A68
RGBrgb(38, 42, 104)
HSLhsl(236, 46%, 28%)
HSVhsv(236, 63%, 41%)
CMYKcmyk(63.5%, 59.6%, 0%, 59.2%)
CIE-LABlab(20.31, 19.20, -37.05)
CIE-LCHlch(20.31, 41.73, 297.40°)
OKLaboklab(32.06% 0.0108 -0.1063)
OKLCHoklch(32.06% 0.107 275.8)
XYZxyz(4.1252, 3.0672, 13.4687)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A68 #686426
analogous
#264B68 #262A68 #432668
triadic
#262A68 #68262A #2A6826
tetradic
#262A68 #68264B #686426 #266843
square
#262A68 #68264B #686426 #266843
split-complementary
#262A68 #684326 #4B6826
monochromatic
#080916 #16183B #262A68 #363C95 #4B52BD

Accessibility & contrast

On white

13.02
#262A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A68
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A68#FFFFFF#000000##FFFFFF
##262A681.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262a68;
/* rgb */ color: rgb(38, 42, 104);
/* oklch */ color: oklch(32.1% 0.107 275.8);
Tailwind
colors: {
  custom: {
    50: '#686394',
    500: '#262a68',
    950: '#000000',
  },
}
SCSS
$custom: #262a68;
$custom-light: #686394;
$custom-dark: #000000;
JSON
{
  "hex": "#262a68",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 236.364,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.10689,
    "h": 275.8
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#262A68
secondary
#9B964F
accent
#CE52D6
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#07050D
muted
#7A797E

Preview Lab

Preview with #262A68

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

Preview Lab → · Contrast checker → · Palette generator →

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