#262D67#262D67

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

Color values

HEX#262D67
RGBrgb(38, 45, 103)
HSLhsl(234, 46%, 28%)
HSVhsv(234, 63%, 40%)
CMYKcmyk(63.1%, 56.3%, 0%, 59.6%)
CIE-LABlab(21.09, 16.71, -35.14)
CIE-LCHlch(21.09, 38.91, 295.43°)
OKLaboklab(32.62% 0.0074 -0.1007)
OKLCHoklch(32.62% 0.101 274.2)
XYZxyz(4.1851, 3.2678, 13.2395)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D67 #676026
analogous
#264E67 #262D67 #3F2667
triadic
#262D67 #67262D #2D6726
tetradic
#262D67 #67264E #676026 #26673F
square
#262D67 #67264E #676026 #26673F
split-complementary
#262D67 #673F26 #4E6726
monochromatic
#080A16 #16193A #262D67 #364194 #4B57BD

Accessibility & contrast

On white

12.70
#262D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D67
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D67#FFFFFF#000000##FFFFFF
##262D671.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093669
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262d67;
/* rgb */ color: rgb(38, 45, 103);
/* oklch */ color: oklch(32.6% 0.101 274.2);
Tailwind
colors: {
  custom: {
    50: '#676593',
    500: '#262d67',
    950: '#000000',
  },
}
SCSS
$custom: #262d67;
$custom-light: #676593;
$custom-dark: #000000;
JSON
{
  "hex": "#262d67",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 233.538,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32618,
    "c": 0.10097,
    "h": 274.2
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262D67

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

Preview Lab → · Contrast checker → · Palette generator →

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