#262D7A#262D7A

#262D7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.129 H 273.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#262D7A
RGBrgb(38, 45, 122)
HSLhsl(235, 53%, 31%)
HSVhsv(235, 69%, 48%)
CMYKcmyk(68.9%, 63.1%, 0%, 52.2%)
CIE-LABlab(22.63, 23.90, -44.85)
CIE-LCHlch(22.63, 50.82, 298.05°)
OKLaboklab(34.26% 0.0078 -0.1292)
OKLCHoklch(34.26% 0.129 273.4)
XYZxyz(5.2494, 3.6935, 18.8449)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D7A #7A7326
analogous
#26577A #262D7A #49267A
triadic
#262D7A #7A262D #2D7A26
tetradic
#262D7A #7A2657 #7A7326 #267A49
square
#262D7A #7A2657 #7A7326 #267A49
split-complementary
#262D7A #7A4926 #577A26
monochromatic
#090B1D #171C4B #262D7A #353EA9 #515BC9

Accessibility & contrast

On white

12.08
#262D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D7A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D7A#FFFFFF#000000##FFFFFF
##262D7A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262d7a;
/* rgb */ color: rgb(38, 45, 122);
/* oklch */ color: oklch(34.3% 0.129 273.4);
Tailwind
colors: {
  custom: {
    50: '#6c66a1',
    500: '#262d7a',
    950: '#000000',
  },
}
SCSS
$custom: #262d7a;
$custom-light: #6c66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#262d7a",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 235,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34255,
    "c": 0.12948,
    "h": 273.4
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#262D7A
secondary
#ACA450
accent
#D04CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #262D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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