#262A7C#262A7C

#262A7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.136 H 274.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#262A7C
RGBrgb(38, 42, 124)
HSLhsl(237, 53%, 32%)
HSVhsv(237, 69%, 49%)
CMYKcmyk(69.4%, 66.1%, 0%, 51.4%)
CIE-LABlab(22.03, 26.68, -47.11)
CIE-LCHlch(22.03, 54.14, 299.53°)
OKLaboklab(33.87% 0.0102 -0.1359)
OKLCHoklch(33.87% 0.136 274.3)
XYZxyz(5.2642, 3.5228, 19.4674)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A7C #7C7826
analogous
#26557C #262A7C #4D267C
triadic
#262A7C #7C262A #2A7C26
tetradic
#262A7C #7C2655 #7C7826 #267C4D
square
#262A7C #7C2655 #7C7826 #267C4D
split-complementary
#262A7C #7C4D26 #557C26
monochromatic
#090A1E #181A4D #262A7C #343AAB #5258CA

Accessibility & contrast

On white

12.32
#262A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A7C
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A7C#FFFFFF#000000##FFFFFF
##262A7C1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262a7c;
/* rgb */ color: rgb(38, 42, 124);
/* oklch */ color: oklch(33.9% 0.136 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c63a3',
    500: '#262a7c',
    950: '#000000',
  },
}
SCSS
$custom: #262a7c;
$custom-light: #6c63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262a7c",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 237.209,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.13628,
    "h": 274.3
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#262A7C
secondary
#AEAA50
accent
#D64BDC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #262A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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