#262B83#262B83

#262B83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.145 H 273.5°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#262B83
RGBrgb(38, 43, 131)
HSLhsl(237, 55%, 33%)
HSVhsv(237, 71%, 51%)
CMYKcmyk(71%, 67.2%, 0%, 48.6%)
CIE-LABlab(22.92, 28.61, -50.06)
CIE-LCHlch(22.92, 57.66, 299.74°)
OKLaboklab(34.72% 0.0089 -0.1446)
OKLCHoklch(34.72% 0.145 273.5)
XYZxyz(5.7586, 3.7780, 21.8941)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B83 #837E26
analogous
#265983 #262B83 #4F2683
triadic
#262B83 #83262B #2B8326
tetradic
#262B83 #832659 #837E26 #26834F
square
#262B83 #832659 #837E26 #26834F
split-complementary
#262B83 #834F26 #598326
monochromatic
#0A0C24 #181B54 #262B83 #343BB2 #565CCE

Accessibility & contrast

On white

11.96
#262B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#262B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B83
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B83#FFFFFF#000000##FFFFFF
##262B831.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #262b83;
/* rgb */ color: rgb(38, 43, 131);
/* oklch */ color: oklch(34.7% 0.145 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e64a8',
    500: '#262b83',
    950: '#000000',
  },
}
SCSS
$custom: #262b83;
$custom-light: #6e64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#262b83",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 236.774,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3472,
    "c": 0.14482,
    "h": 273.5
  },
  "luminance": 0.03779
}

Semantic roles & 50–950 ramp

primary
#262B83
secondary
#B2AD52
accent
#D649DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #262B83

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

Preview Lab → · Contrast checker → · Palette generator →

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