#262E62#262E62

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

Color values

HEX#262E62
RGBrgb(38, 46, 98)
HSLhsl(232, 44%, 27%)
HSVhsv(232, 61%, 38%)
CMYKcmyk(61.2%, 53.1%, 0%, 61.6%)
CIE-LABlab(21.01, 14.11, -32.00)
CIE-LCHlch(21.01, 34.97, 293.79°)
OKLaboklab(32.44% 0.0058 -0.0914)
OKLCHoklch(32.44% 0.092 273.6)
XYZxyz(3.9802, 3.2476, 11.9700)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E62 #625A26
analogous
#264C62 #262E62 #3C2662
triadic
#262E62 #62262E #2E6226
tetradic
#262E62 #62264C #625A26 #26623C
square
#262E62 #62264C #625A26 #26623C
split-complementary
#262E62 #623C26 #4C6226
monochromatic
#090A16 #151936 #262E62 #37438E #4A59B9

Accessibility & contrast

On white

12.73
#262E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E62
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E62#FFFFFF#000000##FFFFFF
##262E621.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133564
Deuteranopia (green-blind)
#093061
Tritanopia (blue-blind)
#013A43
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262e62;
/* rgb */ color: rgb(38, 46, 98);
/* oklch */ color: oklch(32.4% 0.092 273.6);
Tailwind
colors: {
  custom: {
    50: '#66668f',
    500: '#262e62',
    950: '#000000',
  },
}
SCSS
$custom: #262e62;
$custom-light: #66668f;
$custom-dark: #000000;
JSON
{
  "hex": "#262e62",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 232,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.09163,
    "h": 273.6
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#262E62
secondary
#958C4F
accent
#C354D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262E62

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

Preview Lab → · Contrast checker → · Palette generator →

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