#262D7F#262D7F

#262D7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.137 H 273.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#262D7F
RGBrgb(38, 45, 127)
HSLhsl(235, 54%, 32%)
HSVhsv(235, 70%, 50%)
CMYKcmyk(70.1%, 64.6%, 0%, 50.2%)
CIE-LABlab(23.07, 25.78, -47.30)
CIE-LCHlch(23.07, 53.87, 298.59°)
OKLaboklab(34.72% 0.0076 -0.1364)
OKLCHoklch(34.72% 0.137 273.2)
XYZxyz(5.5672, 3.8206, 20.5186)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D7F #7F7826
analogous
#26597F #262D7F #4C267F
triadic
#262D7F #7F262D #2D7F26
tetradic
#262D7F #7F2659 #7F7826 #267F4C
square
#262D7F #7F2659 #7F7826 #267F4C
split-complementary
#262D7F #7F4C26 #597F26
monochromatic
#0A0C21 #181C50 #262D7F #343EAE #545DCC

Accessibility & contrast

On white

11.90
#262D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D7F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D7F#FFFFFF#000000##FFFFFF
##262D7F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262d7f;
/* rgb */ color: rgb(38, 45, 127);
/* oklch */ color: oklch(34.7% 0.137 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d66a5',
    500: '#262d7f',
    950: '#000000',
  },
}
SCSS
$custom: #262d7f;
$custom-light: #6d66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#262d7f",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 235.281,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34715,
    "c": 0.13666,
    "h": 273.2
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#262D7F
secondary
#B0A951
accent
#D24ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #262D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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