#262A88#262A88

#262A88 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.153 H 273.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#262A88
RGBrgb(38, 42, 136)
HSLhsl(238, 56%, 34%)
HSVhsv(238, 72%, 53%)
CMYKcmyk(72.1%, 69.1%, 0%, 46.7%)
CIE-LABlab(23.15, 31.09, -52.82)
CIE-LCHlch(23.15, 61.29, 300.48°)
OKLaboklab(35.03% 0.0091 -0.1526)
OKLCHoklch(35.03% 0.153 273.4)
XYZxyz(6.0697, 3.8450, 23.7101)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A88 #888426
analogous
#265B88 #262A88 #532688
triadic
#262A88 #88262A #2A8826
tetradic
#262A88 #88265B #888426 #268853
square
#262A88 #88265B #888426 #268853
split-complementary
#262A88 #885326 #5B8826
monochromatic
#0B0C28 #191B58 #262A88 #3339B8 #585DD0

Accessibility & contrast

On white

11.87
#262A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#262A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A88
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A88#FFFFFF#000000##FFFFFF
##262A881.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262a88;
/* rgb */ color: rgb(38, 42, 136);
/* oklch */ color: oklch(35.0% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#262a88',
    950: '#000000',
  },
}
SCSS
$custom: #262a88;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262a88",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 237.551,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.1529,
    "h": 273.4
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#262A88
secondary
#B5B155
accent
#D948E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262A88

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

Preview Lab → · Contrast checker → · Palette generator →

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