#262B72#262B72

#262B72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.120 H 274.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#262B72
RGBrgb(38, 43, 114)
HSLhsl(236, 50%, 30%)
HSVhsv(236, 67%, 45%)
CMYKcmyk(66.7%, 62.3%, 0%, 55.3%)
CIE-LABlab(21.41, 22.26, -41.73)
CIE-LCHlch(21.41, 47.30, 298.08°)
OKLaboklab(33.14% 0.0098 -0.1201)
OKLCHoklch(33.14% 0.121 274.7)
XYZxyz(4.6995, 3.3543, 16.3161)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B72 #726D26
analogous
#265172 #262B72 #472672
triadic
#262B72 #72262B #2B7226
tetradic
#262B72 #722651 #726D26 #267247
square
#262B72 #722651 #726D26 #267247
split-complementary
#262B72 #724726 #517226
monochromatic
#080917 #171A44 #262B72 #353CA0 #4E56C4

Accessibility & contrast

On white

12.57
#262B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B72
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B72#FFFFFF#000000##FFFFFF
##262B721.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262b72;
/* rgb */ color: rgb(38, 43, 114);
/* oklch */ color: oklch(33.1% 0.120 274.7);
Tailwind
colors: {
  custom: {
    50: '#6a649b',
    500: '#262b72',
    950: '#000000',
  },
}
SCSS
$custom: #262b72;
$custom-light: #6a649b;
$custom-dark: #000000;
JSON
{
  "hex": "#262b72",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 236.053,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.1205,
    "h": 274.7
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#262B72
secondary
#A59F4F
accent
#D04EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262B72

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

Preview Lab → · Contrast checker → · Palette generator →

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