#262D68#262D68

#262D68 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.103 H 274.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#262D68
RGBrgb(38, 45, 104)
HSLhsl(234, 46%, 28%)
HSVhsv(234, 63%, 41%)
CMYKcmyk(63.5%, 56.7%, 0%, 59.2%)
CIE-LABlab(21.16, 17.09, -35.67)
CIE-LCHlch(21.16, 39.55, 295.59°)
OKLaboklab(32.7% 0.0075 -0.1023)
OKLCHoklch(32.7% 0.103 274.2)
XYZxyz(4.2356, 3.2880, 13.5055)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D68 #686126
analogous
#264E68 #262D68 #402668
triadic
#262D68 #68262D #2D6826
tetradic
#262D68 #68264E #686126 #266840
square
#262D68 #68264E #686126 #266840
split-complementary
#262D68 #684026 #4E6826
monochromatic
#080A16 #161A3B #262D68 #364095 #4B57BD

Accessibility & contrast

On white

12.67
#262D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#262D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D68
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D68#FFFFFF#000000##FFFFFF
##262D681.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262d68;
/* rgb */ color: rgb(38, 45, 104);
/* oklch */ color: oklch(32.7% 0.103 274.2);
Tailwind
colors: {
  custom: {
    50: '#686594',
    500: '#262d68',
    950: '#000000',
  },
}
SCSS
$custom: #262d68;
$custom-light: #686594;
$custom-dark: #000000;
JSON
{
  "hex": "#262d68",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 233.636,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32699,
    "c": 0.10253,
    "h": 274.2
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#262D68
secondary
#9B934F
accent
#C852D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #262D68

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

Preview Lab → · Contrast checker → · Palette generator →

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