#262C7F#262C7F

#262C7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.138 H 273.5°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#262C7F
RGBrgb(38, 44, 127)
HSLhsl(236, 54%, 32%)
HSVhsv(236, 70%, 50%)
CMYKcmyk(70.1%, 65.4%, 0%, 50.2%)
CIE-LABlab(22.81, 26.45, -47.73)
CIE-LCHlch(22.81, 54.57, 299.00°)
OKLaboklab(34.53% 0.0084 -0.1377)
OKLCHoklch(34.53% 0.138 273.5)
XYZxyz(5.5295, 3.7452, 20.5061)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C7F #7F7926
analogous
#26597F #262C7F #4D267F
triadic
#262C7F #7F262C #2C7F26
tetradic
#262C7F #7F2659 #7F7926 #267F4D
square
#262C7F #7F2659 #7F7926 #267F4D
split-complementary
#262C7F #7F4D26 #597F26
monochromatic
#0A0B21 #181C50 #262C7F #343CAE #545CCC

Accessibility & contrast

On white

12.01
#262C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C7F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C7F#FFFFFF#000000##FFFFFF
##262C7F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262c7f;
/* rgb */ color: rgb(38, 44, 127);
/* oklch */ color: oklch(34.5% 0.138 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d65a5',
    500: '#262c7f',
    950: '#000000',
  },
}
SCSS
$custom: #262c7f;
$custom-light: #6d65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#262c7f",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 235.955,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34525,
    "c": 0.13795,
    "h": 273.5
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#262C7F
secondary
#B0AA51
accent
#D34ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #262C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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