#262C8F#262C8F

#262C8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.160 H 272.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#262C8F
RGBrgb(38, 44, 143)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(73.4%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.31, 32.35, -55.28)
CIE-LCHlch(24.31, 64.05, 300.34°)
OKLaboklab(36.08% 0.007 -0.1598)
OKLCHoklch(36.08% 0.16 272.5)
XYZxyz(6.6563, 4.1959, 26.4404)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C8F #8F8926
analogous
#26618F #262C8F #54268F
triadic
#262C8F #8F262C #2C8F26
tetradic
#262C8F #8F2661 #8F8926 #268F54
square
#262C8F #8F2661 #8F8926 #268F54
split-complementary
#262C8F #8F5426 #618F26
monochromatic
#0C0E2E #191D5F #262C8F #333BBF #5C63D4

Accessibility & contrast

On white

11.42
#262C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#262C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C8F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C8F#FFFFFF#000000##FFFFFF
##262C8F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262c8f;
/* rgb */ color: rgb(38, 44, 143);
/* oklch */ color: oklch(36.1% 0.160 272.5);
Tailwind
colors: {
  custom: {
    50: '#7165b1',
    500: '#262c8f',
    950: '#000000',
  },
}
SCSS
$custom: #262c8f;
$custom-light: #7165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#262c8f",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 236.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36077,
    "c": 0.15997,
    "h": 272.5
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#262C8F
secondary
#B9B358
accent
#D847E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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