#262B8C#262B8C

#262B8C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.157 H 272.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#262B8C
RGBrgb(38, 43, 140)
HSLhsl(237, 57%, 35%)
HSVhsv(237, 73%, 55%)
CMYKcmyk(72.9%, 69.3%, 0%, 45.1%)
CIE-LABlab(23.78, 31.90, -54.29)
CIE-LCHlch(23.78, 62.97, 300.44°)
OKLaboklab(35.6% 0.008 -0.1569)
OKLCHoklch(35.6% 0.157 272.9)
XYZxyz(6.3952, 4.0326, 25.2472)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B8C #8C8726
analogous
#265E8C #262B8C #54268C
triadic
#262B8C #8C262B #2B8C26
tetradic
#262B8C #8C265E #8C8726 #268C54
square
#262B8C #8C265E #8C8726 #268C54
split-complementary
#262B8C #8C5426 #5E8C26
monochromatic
#0C0D2C #191C5C #262B8C #333ABC #5A60D2

Accessibility & contrast

On white

11.62
#262B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#262B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B8C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B8C#FFFFFF#000000##FFFFFF
##262B8C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #262b8c;
/* rgb */ color: rgb(38, 43, 140);
/* oklch */ color: oklch(35.6% 0.157 272.9);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#262b8c',
    950: '#000000',
  },
}
SCSS
$custom: #262b8c;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#262b8c",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 237.059,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.15712,
    "h": 272.9
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#262B8C
secondary
#B7B257
accent
#D947E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #262B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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