#262D73#262D73

#262D73 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.119 H 273.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#262D73
RGBrgb(38, 45, 115)
HSLhsl(235, 50%, 30%)
HSVhsv(235, 67%, 45%)
CMYKcmyk(67%, 60.9%, 0%, 54.9%)
CIE-LABlab(22.04, 21.25, -41.35)
CIE-LCHlch(22.04, 46.49, 297.20°)
OKLaboklab(33.63% 0.0078 -0.119)
OKLCHoklch(33.63% 0.119 273.8)
XYZxyz(4.8312, 3.5262, 16.6424)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D73 #736C26
analogous
#265473 #262D73 #452673
triadic
#262D73 #73262D #2D7326
tetradic
#262D73 #732654 #736C26 #267345
square
#262D73 #732654 #736C26 #267345
split-complementary
#262D73 #734526 #547326
monochromatic
#080917 #171B45 #262D73 #353FA1 #4F59C5

Accessibility & contrast

On white

12.31
#262D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D73
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D73#FFFFFF#000000##FFFFFF
##262D731.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262d73;
/* rgb */ color: rgb(38, 45, 115);
/* oklch */ color: oklch(33.6% 0.119 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a659c',
    500: '#262d73',
    950: '#000000',
  },
}
SCSS
$custom: #262d73;
$custom-light: #6a659c;
$custom-dark: #000000;
JSON
{
  "hex": "#262d73",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 234.545,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33631,
    "c": 0.11922,
    "h": 273.8
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#262D73
secondary
#A69E4F
accent
#CD4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262D73

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

Preview Lab → · Contrast checker → · Palette generator →

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