#262A73#262A73

#262A73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.123 H 275.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#262A73
RGBrgb(38, 42, 115)
HSLhsl(237, 50%, 30%)
HSVhsv(237, 67%, 45%)
CMYKcmyk(67%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.23, 23.33, -42.67)
CIE-LCHlch(21.23, 48.63, 298.67°)
OKLaboklab(33.03% 0.0107 -0.1229)
OKLCHoklch(33.03% 0.123 275)
XYZxyz(4.7208, 3.3054, 16.6056)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A73 #736F26
analogous
#265173 #262A73 #482673
triadic
#262A73 #73262A #2A7326
tetradic
#262A73 #732651 #736F26 #267348
square
#262A73 #732651 #736F26 #267348
split-complementary
#262A73 #734826 #517326
monochromatic
#080817 #171945 #262A73 #353BA1 #4F55C5

Accessibility & contrast

On white

12.64
#262A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A73
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A73#FFFFFF#000000##FFFFFF
##262A731.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262a73;
/* rgb */ color: rgb(38, 42, 115);
/* oklch */ color: oklch(33.0% 0.123 275.0);
Tailwind
colors: {
  custom: {
    50: '#6a639c',
    500: '#262a73',
    950: '#000000',
  },
}
SCSS
$custom: #262a73;
$custom-light: #6a639c;
$custom-dark: #000000;
JSON
{
  "hex": "#262a73",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 236.883,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.12334,
    "h": 275
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#262A73
secondary
#A6A14F
accent
#D34EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262A73

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

Preview Lab → · Contrast checker → · Palette generator →

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