#262B7D#262B7D

#262B7D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.136 H 273.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#262B7D
RGBrgb(38, 43, 125)
HSLhsl(237, 53%, 32%)
HSVhsv(237, 70%, 49%)
CMYKcmyk(69.6%, 65.6%, 0%, 51%)
CIE-LABlab(22.37, 26.38, -47.18)
CIE-LCHlch(22.37, 54.05, 299.21°)
OKLaboklab(34.15% 0.0093 -0.1361)
OKLCHoklch(34.15% 0.136 273.9)
XYZxyz(5.3636, 3.6200, 19.8141)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B7D #7D7826
analogous
#26577D #262B7D #4D267D
triadic
#262B7D #7D262B #2B7D26
tetradic
#262B7D #7D2657 #7D7826 #267D4D
square
#262B7D #7D2657 #7D7826 #267D4D
split-complementary
#262B7D #7D4D26 #577D26
monochromatic
#090B1F #181B4E #262B7D #343BAC #535ACB

Accessibility & contrast

On white

12.18
#262B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B7D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B7D#FFFFFF#000000##FFFFFF
##262B7D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262b7d;
/* rgb */ color: rgb(38, 43, 125);
/* oklch */ color: oklch(34.1% 0.136 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d64a3',
    500: '#262b7d',
    950: '#000000',
  },
}
SCSS
$custom: #262b7d;
$custom-light: #6d64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#262b7d",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 236.552,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34148,
    "c": 0.13641,
    "h": 273.9
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#262B7D
secondary
#AFAA50
accent
#D44BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #262B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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