#262A7A#262A7A

#262A7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.133 H 274.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#262A7A
RGBrgb(38, 42, 122)
HSLhsl(237, 53%, 31%)
HSVhsv(237, 69%, 48%)
CMYKcmyk(68.9%, 65.6%, 0%, 52.2%)
CIE-LABlab(21.85, 25.94, -46.13)
CIE-LCHlch(21.85, 52.93, 299.35°)
OKLaboklab(33.68% 0.0104 -0.133)
OKLCHoklch(33.68% 0.133 274.5)
XYZxyz(5.1390, 3.4727, 18.8081)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A7A #7A7626
analogous
#26547A #262A7A #4C267A
triadic
#262A7A #7A262A #2A7A26
tetradic
#262A7A #7A2654 #7A7626 #267A4C
square
#262A7A #7A2654 #7A7626 #267A4C
split-complementary
#262A7A #7A4C26 #547A26
monochromatic
#090A1D #171A4B #262A7A #353AA9 #5157C9

Accessibility & contrast

On white

12.39
#262A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#262A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A7A
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A7A#FFFFFF#000000##FFFFFF
##262A7A1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262a7a;
/* rgb */ color: rgb(38, 42, 122);
/* oklch */ color: oklch(33.7% 0.133 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c63a1',
    500: '#262a7a',
    950: '#000000',
  },
}
SCSS
$custom: #262a7a;
$custom-light: #6c63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#262a7a",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 237.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.13344,
    "h": 274.5
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#262A7A
secondary
#ACA850
accent
#D54CDC
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #262A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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