#262A6F#262A6F

#262A6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.117 H 275.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#262A6F
RGBrgb(38, 42, 111)
HSLhsl(237, 49%, 29%)
HSVhsv(237, 66%, 44%)
CMYKcmyk(65.8%, 62.2%, 0%, 56.5%)
CIE-LABlab(20.89, 21.83, -40.65)
CIE-LCHlch(20.89, 46.14, 298.24°)
OKLaboklab(32.67% 0.0108 -0.1169)
OKLCHoklch(32.67% 0.117 275.3)
XYZxyz(4.4956, 3.2153, 15.4196)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A6F #6F6B26
analogous
#264F6F #262A6F #47266F
triadic
#262A6F #6F262A #2A6F26
tetradic
#262A6F #6F264F #6F6B26 #266F47
square
#262A6F #6F264F #6F6B26 #266F47
split-complementary
#262A6F #6F4726 #4F6F26
monochromatic
#080917 #161941 #262A6F #363B9D #4D54C2

Accessibility & contrast

On white

12.78
#262A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#262A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A6F
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A6F#FFFFFF#000000##FFFFFF
##262A6F1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262a6f;
/* rgb */ color: rgb(38, 42, 111);
/* oklch */ color: oklch(32.7% 0.117 275.3);
Tailwind
colors: {
  custom: {
    50: '#696399',
    500: '#262a6f',
    950: '#000000',
  },
}
SCSS
$custom: #262a6f;
$custom-light: #696399;
$custom-dark: #000000;
JSON
{
  "hex": "#262a6f",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 236.712,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32671,
    "c": 0.11744,
    "h": 275.3
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#262A6F
secondary
#A29D4F
accent
#D14FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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