#262B73#262B73

#262B73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.122 H 274.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#262B73
RGBrgb(38, 43, 115)
HSLhsl(236, 50%, 30%)
HSVhsv(236, 67%, 45%)
CMYKcmyk(67%, 62.6%, 0%, 54.9%)
CIE-LABlab(21.50, 22.64, -42.23)
CIE-LCHlch(21.50, 47.92, 298.19°)
OKLaboklab(33.23% 0.0098 -0.1216)
OKLCHoklch(33.23% 0.122 274.6)
XYZxyz(4.7567, 3.3772, 16.6175)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B73 #736E26
analogous
#265173 #262B73 #482673
triadic
#262B73 #73262B #2B7326
tetradic
#262B73 #732651 #736E26 #267348
square
#262B73 #732651 #736E26 #267348
split-complementary
#262B73 #734826 #517326
monochromatic
#080917 #171A45 #262B73 #353CA1 #4F56C5

Accessibility & contrast

On white

12.53
#262B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B73
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B73#FFFFFF#000000##FFFFFF
##262B731.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262b73;
/* rgb */ color: rgb(38, 43, 115);
/* oklch */ color: oklch(33.2% 0.122 274.6);
Tailwind
colors: {
  custom: {
    50: '#6a649c',
    500: '#262b73',
    950: '#000000',
  },
}
SCSS
$custom: #262b73;
$custom-light: #6a649c;
$custom-dark: #000000;
JSON
{
  "hex": "#262b73",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 236.104,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.12197,
    "h": 274.6
  },
  "luminance": 0.03378
}

Semantic roles & 50–950 ramp

primary
#262B73
secondary
#A6A04F
accent
#D14EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262B73

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

Preview Lab → · Contrast checker → · Palette generator →

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