#262A95#262A95

#262A95 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.170 H 272.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#262A95
RGBrgb(38, 42, 149)
HSLhsl(238, 59%, 37%)
HSVhsv(238, 74%, 58%)
CMYKcmyk(74.5%, 71.8%, 0%, 41.6%)
CIE-LABlab(24.44, 35.77, -58.77)
CIE-LCHlch(24.44, 68.80, 301.33°)
OKLaboklab(36.35% 0.0075 -0.17)
OKLCHoklch(36.35% 0.17 272.5)
XYZxyz(7.0503, 4.2372, 28.8742)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A95 #959126
analogous
#266295 #262A95 #5A2695
triadic
#262A95 #95262A #2A9526
tetradic
#262A95 #952662 #959126 #26955A
square
#262A95 #952662 #959126 #26955A
split-complementary
#262A95 #955A26 #629526
monochromatic
#0D0F33 #1A1C64 #262A95 #3238C6 #5F63D6

Accessibility & contrast

On white

11.37
#262A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#262A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A95
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A95#FFFFFF#000000##FFFFFF
##262A951.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #262a95;
/* rgb */ color: rgb(38, 42, 149);
/* oklch */ color: oklch(36.4% 0.170 272.5);
Tailwind
colors: {
  custom: {
    50: '#7264b5',
    500: '#262a95',
    950: '#000000',
  },
}
SCSS
$custom: #262a95;
$custom-light: #7264b5;
$custom-dark: #000000;
JSON
{
  "hex": "#262a95",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 237.838,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36353,
    "c": 0.17017,
    "h": 272.5
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#262A95
secondary
#BBB85B
accent
#DD45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #262A95

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

Preview Lab → · Contrast checker → · Palette generator →

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