#262E61#262E61

#262E61 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.090 H 273.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#262E61
RGBrgb(38, 46, 97)
HSLhsl(232, 44%, 26%)
HSVhsv(232, 61%, 38%)
CMYKcmyk(60.8%, 52.6%, 0%, 62%)
CIE-LABlab(20.94, 13.73, -31.46)
CIE-LCHlch(20.94, 34.33, 293.58°)
OKLaboklab(32.37% 0.0057 -0.0899)
OKLCHoklch(32.37% 0.09 273.6)
XYZxyz(3.9333, 3.2288, 11.7229)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E61 #615926
analogous
#264C61 #262E61 #3C2661
triadic
#262E61 #61262E #2E6126
tetradic
#262E61 #61264C #615926 #26613C
square
#262E61 #61264C #615926 #26613C
split-complementary
#262E61 #613C26 #4C6126
monochromatic
#090A16 #151935 #262E61 #37438D #4A58B8

Accessibility & contrast

On white

12.76
#262E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E61
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E61#FFFFFF#000000##FFFFFF
##262E611.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143563
Deuteranopia (green-blind)
#0B3060
Tritanopia (blue-blind)
#033943
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262e61;
/* rgb */ color: rgb(38, 46, 97);
/* oklch */ color: oklch(32.4% 0.090 273.6);
Tailwind
colors: {
  custom: {
    50: '#66668e',
    500: '#262e61',
    950: '#000000',
  },
}
SCSS
$custom: #262e61;
$custom-light: #66668e;
$custom-dark: #000000;
JSON
{
  "hex": "#262e61",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 231.864,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.09004,
    "h": 273.6
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#262E61
secondary
#948B4F
accent
#C254D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262E61

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

Preview Lab → · Contrast checker → · Palette generator →

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