#262E59#262E59

#262E59 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.077 H 273.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#262E59
RGBrgb(38, 46, 89)
HSLhsl(231, 40%, 25%)
HSVhsv(231, 57%, 35%)
CMYKcmyk(57.3%, 48.3%, 0%, 65.1%)
CIE-LABlab(20.39, 10.74, -27.06)
CIE-LCHlch(20.39, 29.11, 291.64°)
OKLaboklab(31.77% 0.0045 -0.0769)
OKLCHoklch(31.77% 0.077 273.3)
XYZxyz(3.5789, 3.0871, 9.8565)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E59 #595126
analogous
#264859 #262E59 #372659
triadic
#262E59 #59262E #2E5926
tetradic
#262E59 #592648 #595126 #265937
square
#262E59 #592648 #595126 #265937
split-complementary
#262E59 #593726 #485926
monochromatic
#090B15 #14182E #262E59 #384484 #4B5AAF

Accessibility & contrast

On white

12.98
#262E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E59
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E59#FFFFFF#000000##FFFFFF
##262E591.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#0E373F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262e59;
/* rgb */ color: rgb(38, 46, 89);
/* oklch */ color: oklch(31.8% 0.077 273.3);
Tailwind
colors: {
  custom: {
    50: '#656688',
    500: '#262e59',
    950: '#000000',
  },
}
SCSS
$custom: #262e59;
$custom-light: #656688;
$custom-dark: #000000;
JSON
{
  "hex": "#262e59",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 230.588,
    "s": 40.157,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31771,
    "c": 0.07707,
    "h": 273.3
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#262E59
secondary
#8C834F
accent
#BD58D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #262E59

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

Preview Lab → · Contrast checker → · Palette generator →

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