#262FA6#262FA6

#262FA6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.187 H 270.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#262FA6
RGBrgb(38, 47, 166)
HSLhsl(236, 63%, 40%)
HSVhsv(236, 77%, 65%)
CMYKcmyk(77.1%, 71.7%, 0%, 34.9%)
CIE-LABlab(27.29, 38.71, -64.44)
CIE-LCHlch(27.29, 75.17, 300.99°)
OKLaboklab(38.92% 0.0025 -0.1866)
OKLCHoklch(38.92% 0.187 270.8)
XYZxyz(8.6964, 5.1973, 36.6139)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262FA6 #A69D26
analogous
#266FA6 #262FA6 #5D26A6
triadic
#262FA6 #A6262F #2FA626
tetradic
#262FA6 #A6266F #A69D26 #26A65D
square
#262FA6 #A6266F #A69D26 #26A65D
split-complementary
#262FA6 #A65D26 #6FA626
monochromatic
#0F1342 #1B2174 #262FA6 #3843D1 #6A72DD

Accessibility & contrast

On white

10.30
#262FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#262FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262FA6
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262FA6#FFFFFF#000000##FFFFFF
##262FA61.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #262fa6;
/* rgb */ color: rgb(38, 47, 166);
/* oklch */ color: oklch(38.9% 0.187 270.8);
Tailwind
colors: {
  custom: {
    50: '#7668c2',
    500: '#262fa6',
    950: '#000000',
  },
}
SCSS
$custom: #262fa6;
$custom-light: #7668c2;
$custom-dark: #000000;
JSON
{
  "hex": "#262fa6",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 235.781,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.18658,
    "h": 270.8
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#262FA6
secondary
#C3BC65
accent
#DA42E6
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #262FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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