#262E7C#262E7C

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

Color values

HEX#262E7C
RGBrgb(38, 46, 124)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 69%, 49%)
CMYKcmyk(69.4%, 62.9%, 0%, 51.4%)
CIE-LABlab(23.07, 23.97, -45.41)
CIE-LCHlch(23.07, 51.34, 297.83°)
OKLaboklab(34.63% 0.0068 -0.1309)
OKLCHoklch(34.63% 0.131 273)
XYZxyz(5.4132, 3.8208, 19.5171)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E7C #7C7426
analogous
#26597C #262E7C #49267C
triadic
#262E7C #7C262E #2E7C26
tetradic
#262E7C #7C2659 #7C7426 #267C49
square
#262E7C #7C2659 #7C7426 #267C49
split-complementary
#262E7C #7C4926 #597C26
monochromatic
#090B1E #181D4D #262E7C #343FAB #525DCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262E7C#FFFFFF#000000##FFFFFF
##262E7C1.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)
#003B7F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262e7c;
/* rgb */ color: rgb(38, 46, 124);
/* oklch */ color: oklch(34.6% 0.131 273.0);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#262e7c',
    950: '#000000',
  },
}
SCSS
$custom: #262e7c;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262e7c",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 234.419,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34633,
    "c": 0.13105,
    "h": 273
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#262E7C
secondary
#AEA550
accent
#CF4BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #262E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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