#262A7B#262A7B

#262A7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.135 H 274.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#262A7B
RGBrgb(38, 42, 123)
HSLhsl(237, 53%, 32%)
HSVhsv(237, 69%, 48%)
CMYKcmyk(69.1%, 65.9%, 0%, 51.8%)
CIE-LABlab(21.94, 26.31, -46.62)
CIE-LCHlch(21.94, 53.53, 299.44°)
OKLaboklab(33.77% 0.0103 -0.1345)
OKLCHoklch(33.77% 0.135 274.4)
XYZxyz(5.2013, 3.4976, 19.1361)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A7B #7B7726
analogous
#26557B #262A7B #4D267B
triadic
#262A7B #7B262A #2A7B26
tetradic
#262A7B #7B2655 #7B7726 #267B4D
square
#262A7B #7B2655 #7B7726 #267B4D
split-complementary
#262A7B #7B4D26 #557B26
monochromatic
#090A1D #181A4C #262A7B #343AAA #5258CA

Accessibility & contrast

On white

12.36
#262A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A7B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A7B#FFFFFF#000000##FFFFFF
##262A7B1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262a7b;
/* rgb */ color: rgb(38, 42, 123);
/* oklch */ color: oklch(33.8% 0.135 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c63a2',
    500: '#262a7b',
    950: '#000000',
  },
}
SCSS
$custom: #262a7b;
$custom-light: #6c63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#262a7b",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 237.176,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.13487,
    "h": 274.4
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#262A7B
secondary
#ADA950
accent
#D54CDC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #262A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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