#262F88#262F88

#262F88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.147 H 272.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#262F88
RGBrgb(38, 47, 136)
HSLhsl(234, 56%, 34%)
HSVhsv(234, 72%, 53%)
CMYKcmyk(72.1%, 65.4%, 0%, 46.7%)
CIE-LABlab(24.39, 27.80, -50.79)
CIE-LCHlch(24.39, 57.90, 298.69°)
OKLaboklab(35.94% 0.0055 -0.1467)
OKLCHoklch(35.94% 0.147 272.1)
XYZxyz(6.2583, 4.2221, 23.7729)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F88 #887F26
analogous
#266088 #262F88 #4E2688
triadic
#262F88 #88262F #2F8826
tetradic
#262F88 #882660 #887F26 #26884E
square
#262F88 #882660 #887F26 #26884E
split-complementary
#262F88 #884E26 #608826
monochromatic
#0B0E28 #191E58 #262F88 #3340B8 #5863D0

Accessibility & contrast

On white

11.38
#262F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262F88
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F88#FFFFFF#000000##FFFFFF
##262F881.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262f88;
/* rgb */ color: rgb(38, 47, 136);
/* oklch */ color: oklch(35.9% 0.147 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#262f88',
    950: '#000000',
  },
}
SCSS
$custom: #262f88;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262f88",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 234.49,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.14676,
    "h": 272.1
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#262F88
secondary
#B5AC55
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262F88

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

Preview Lab → · Contrast checker → · Palette generator →

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