#262D63#262D63

#262D63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.095 H 274.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#262D63
RGBrgb(38, 45, 99)
HSLhsl(233, 45%, 27%)
HSVhsv(233, 62%, 39%)
CMYKcmyk(61.6%, 54.5%, 0%, 61.2%)
CIE-LABlab(20.79, 15.20, -33.01)
CIE-LCHlch(20.79, 36.34, 294.72°)
OKLaboklab(32.3% 0.0071 -0.0944)
OKLCHoklch(32.3% 0.095 274.3)
XYZxyz(3.9891, 3.1894, 12.2074)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D63 #635C26
analogous
#264C63 #262D63 #3E2663
triadic
#262D63 #63262D #2D6326
tetradic
#262D63 #63264C #635C26 #26633E
square
#262D63 #63264C #635C26 #26633E
split-complementary
#262D63 #633E26 #4C6326
monochromatic
#080A16 #151937 #262D63 #37418F #4A57B9

Accessibility & contrast

On white

12.82
#262D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D63
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D63#FFFFFF#000000##FFFFFF
##262D631.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103565
Deuteranopia (green-blind)
#043062
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262d63;
/* rgb */ color: rgb(38, 45, 99);
/* oklch */ color: oklch(32.3% 0.095 274.3);
Tailwind
colors: {
  custom: {
    50: '#676590',
    500: '#262d63',
    950: '#000000',
  },
}
SCSS
$custom: #262d63;
$custom-light: #676590;
$custom-dark: #000000;
JSON
{
  "hex": "#262d63",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 233.115,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32297,
    "c": 0.0947,
    "h": 274.3
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#262D63
secondary
#968E4F
accent
#C554D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262D63

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

Preview Lab → · Contrast checker → · Palette generator →

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