#262FAE#262FAE

#262FAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.197 H 270.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#262FAE
RGBrgb(38, 47, 174)
HSLhsl(236, 64%, 42%)
HSVhsv(236, 78%, 68%)
CMYKcmyk(78.2%, 73%, 0%, 31.8%)
CIE-LABlab(28.11, 41.51, -67.89)
CIE-LCHlch(28.11, 79.58, 301.44°)
OKLaboklab(39.76% 0.0014 -0.1966)
OKLCHoklch(39.76% 0.197 270.4)
XYZxyz(9.4532, 5.5000, 40.5996)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FAE #AEA526
analogous
#2673AE #262FAE #6126AE
triadic
#262FAE #AE262F #2FAE26
tetradic
#262FAE #AE2673 #AEA526 #26AE61
square
#262FAE #AE2673 #AEA526 #26AE61
split-complementary
#262FAE #AE6126 #73AE26
monochromatic
#10144A #1B217C #262FAE #3D47D5 #6F76E0

Accessibility & contrast

On white

10.00
#262FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#262FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FAE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FAE#FFFFFF#000000##FFFFFF
##262FAE1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #262fae;
/* rgb */ color: rgb(38, 47, 174);
/* oklch */ color: oklch(39.8% 0.197 270.4);
Tailwind
colors: {
  custom: {
    50: '#7869c7',
    500: '#262fae',
    950: '#000000',
  },
}
SCSS
$custom: #262fae;
$custom-light: #7869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#262fae",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 236.029,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.19662,
    "h": 270.4
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#262FAE
secondary
#C6C06A
accent
#DC41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #262FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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