#262B7C#262B7C

#262B7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.135 H 274.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#262B7C
RGBrgb(38, 43, 124)
HSLhsl(237, 53%, 32%)
HSVhsv(237, 69%, 49%)
CMYKcmyk(69.4%, 65.3%, 0%, 51.4%)
CIE-LABlab(22.28, 26.01, -46.69)
CIE-LCHlch(22.28, 53.44, 299.12°)
OKLaboklab(34.05% 0.0094 -0.1347)
OKLCHoklch(34.05% 0.135 274)
XYZxyz(5.3001, 3.5946, 19.4794)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B7C #7C7726
analogous
#26567C #262B7C #4C267C
triadic
#262B7C #7C262B #2B7C26
tetradic
#262B7C #7C2656 #7C7726 #267C4C
square
#262B7C #7C2656 #7C7726 #267C4C
split-complementary
#262B7C #7C4C26 #567C26
monochromatic
#090B1E #181B4D #262B7C #343BAB #5259CA

Accessibility & contrast

On white

12.22
#262B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B7C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B7C#FFFFFF#000000##FFFFFF
##262B7C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262b7c;
/* rgb */ color: rgb(38, 43, 124);
/* oklch */ color: oklch(34.1% 0.135 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c64a3',
    500: '#262b7c',
    950: '#000000',
  },
}
SCSS
$custom: #262b7c;
$custom-light: #6c64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262b7c",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 236.512,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.13499,
    "h": 274
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#262B7C
secondary
#AEA950
accent
#D44BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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