#262B89#262B89

#262B89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.153 H 273.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#262B89
RGBrgb(38, 43, 137)
HSLhsl(237, 57%, 34%)
HSVhsv(237, 72%, 54%)
CMYKcmyk(72.3%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.49, 30.81, -52.89)
CIE-LCHlch(23.49, 61.21, 300.22°)
OKLaboklab(35.31% 0.0083 -0.1528)
OKLCHoklch(35.31% 0.153 273.1)
XYZxyz(6.1771, 3.9454, 24.0981)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B89 #898426
analogous
#265D89 #262B89 #532689
triadic
#262B89 #89262B #2B8926
tetradic
#262B89 #89265D #898426 #268953
square
#262B89 #89265D #898426 #268953
split-complementary
#262B89 #895326 #5D8926
monochromatic
#0B0D29 #191C59 #262B89 #333AB9 #595FD1

Accessibility & contrast

On white

11.74
#262B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#262B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B89
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B89#FFFFFF#000000##FFFFFF
##262B891.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262b89;
/* rgb */ color: rgb(38, 43, 137);
/* oklch */ color: oklch(35.3% 0.153 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#262b89',
    950: '#000000',
  },
}
SCSS
$custom: #262b89;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#262b89",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 236.97,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35307,
    "c": 0.15307,
    "h": 273.1
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#262B89
secondary
#B6B155
accent
#D848E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B89

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

Preview Lab → · Contrast checker → · Palette generator →

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