#262A60#262A60

#262A60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.094 H 276.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#262A60
RGBrgb(38, 42, 96)
HSLhsl(236, 43%, 26%)
HSVhsv(236, 60%, 38%)
CMYKcmyk(60.4%, 56.3%, 0%, 62.4%)
CIE-LABlab(19.69, 16.20, -32.81)
CIE-LCHlch(19.69, 36.59, 296.28°)
OKLaboklab(31.4% 0.0104 -0.0939)
OKLCHoklch(31.4% 0.094 276.3)
XYZxyz(3.7379, 2.9123, 11.4292)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A60 #605C26
analogous
#264760 #262A60 #3F2660
triadic
#262A60 #60262A #2A6026
tetradic
#262A60 #602647 #605C26 #26603F
square
#262A60 #602647 #605C26 #26603F
split-complementary
#262A60 #603F26 #476026
monochromatic
#090A16 #151734 #262A60 #373D8C #4951B7

Accessibility & contrast

On white

13.27
#262A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#262A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A60
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A60#FFFFFF#000000##FFFFFF
##262A601.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3262
Deuteranopia (green-blind)
#012D5F
Tritanopia (blue-blind)
#053640
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262a60;
/* rgb */ color: rgb(38, 42, 96);
/* oklch */ color: oklch(31.4% 0.094 276.3);
Tailwind
colors: {
  custom: {
    50: '#66638e',
    500: '#262a60',
    950: '#000000',
  },
}
SCSS
$custom: #262a60;
$custom-light: #66638e;
$custom-dark: #000000;
JSON
{
  "hex": "#262a60",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 235.862,
    "s": 43.284,
    "l": 26.275
  },
  "oklch": {
    "l": 0.314,
    "c": 0.09445,
    "h": 276.3
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#262A60
secondary
#938E4F
accent
#CA55D3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #262A60

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

Preview Lab → · Contrast checker → · Palette generator →

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