#262C8E#262C8E

#262C8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.159 H 272.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#262C8E
RGBrgb(38, 44, 142)
HSLhsl(237, 58%, 35%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(73.2%, 69%, 0%, 44.3%)
CIE-LABlab(24.21, 31.99, -54.82)
CIE-LCHlch(24.21, 63.47, 300.26°)
OKLaboklab(35.98% 0.0071 -0.1585)
OKLCHoklch(35.98% 0.159 272.6)
XYZxyz(6.5809, 4.1658, 26.0432)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C8E #8E8826
analogous
#26608E #262C8E #54268E
triadic
#262C8E #8E262C #2C8E26
tetradic
#262C8E #8E2660 #8E8826 #268E54
square
#262C8E #8E2660 #8E8826 #268E54
split-complementary
#262C8E #8E5426 #608E26
monochromatic
#0C0E2D #191D5E #262C8E #333BBE #5B62D3

Accessibility & contrast

On white

11.46
#262C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#262C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C8E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C8E#FFFFFF#000000##FFFFFF
##262C8E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262c8e;
/* rgb */ color: rgb(38, 44, 142);
/* oklch */ color: oklch(36.0% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#7165b0',
    500: '#262c8e',
    950: '#000000',
  },
}
SCSS
$custom: #262c8e;
$custom-light: #7165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#262c8e",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 236.538,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35978,
    "c": 0.15863,
    "h": 272.6
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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