#262F9A#262F9A

#262F9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.171 H 271.3°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#262F9A
RGBrgb(38, 47, 154)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 60%)
CMYKcmyk(75.3%, 69.5%, 0%, 39.6%)
CIE-LABlab(26.09, 34.42, -59.12)
CIE-LCHlch(26.09, 68.41, 300.21°)
OKLaboklab(37.69% 0.004 -0.171)
OKLCHoklch(37.69% 0.171 271.3)
XYZxyz(7.6466, 4.7774, 31.0847)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F9A #9A9126
analogous
#26699A #262F9A #57269A
triadic
#262F9A #9A262F #2F9A26
tetradic
#262F9A #9A2669 #9A9126 #269A57
square
#262F9A #9A2669 #9A9126 #269A57
split-complementary
#262F9A #9A5726 #699A26
monochromatic
#0E1138 #1A2069 #262F9A #323ECB #626BD8

Accessibility & contrast

On white

10.74
#262F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#262F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F9A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F9A#FFFFFF#000000##FFFFFF
##262F9A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #262f9a;
/* rgb */ color: rgb(38, 47, 154);
/* oklch */ color: oklch(37.7% 0.171 271.3);
Tailwind
colors: {
  custom: {
    50: '#7368b9',
    500: '#262f9a',
    950: '#000000',
  },
}
SCSS
$custom: #262f9a;
$custom-light: #7368b9;
$custom-dark: #000000;
JSON
{
  "hex": "#262f9a",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 235.345,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37694,
    "c": 0.17109,
    "h": 271.3
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#262F9A
secondary
#BEB65E
accent
#D744E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #262F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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