#262E56#262E56

#262E56 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.072 H 273.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#262E56
RGBrgb(38, 46, 86)
HSLhsl(230, 39%, 24%)
HSVhsv(230, 56%, 34%)
CMYKcmyk(55.8%, 46.5%, 0%, 66.3%)
CIE-LABlab(20.19, 9.63, -25.38)
CIE-LCHlch(20.19, 27.14, 290.78°)
OKLaboklab(31.56% 0.0039 -0.072)
OKLCHoklch(31.56% 0.072 273.1)
XYZxyz(3.4555, 3.0377, 9.2065)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E56 #564E26
analogous
#264656 #262E56 #362656
triadic
#262E56 #56262E #2E5626
tetradic
#262E56 #562646 #564E26 #265636
square
#262E56 #562646 #564E26 #265636
split-complementary
#262E56 #563626 #465626
monochromatic
#090B15 #13172C #262E56 #394580 #4C5BAB

Accessibility & contrast

On white

13.06
#262E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#262E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E56
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E56#FFFFFF#000000##FFFFFF
##262E561.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3358
Deuteranopia (green-blind)
#182F55
Tritanopia (blue-blind)
#11373D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262e56;
/* rgb */ color: rgb(38, 46, 86);
/* oklch */ color: oklch(31.6% 0.072 273.1);
Tailwind
colors: {
  custom: {
    50: '#646686',
    500: '#262e56',
    950: '#000000',
  },
}
SCSS
$custom: #262e56;
$custom-light: #646686;
$custom-dark: #000000;
JSON
{
  "hex": "#262e56",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 230,
    "s": 38.71,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31559,
    "c": 0.07211,
    "h": 273.1
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#262E56
secondary
#897F4F
accent
#BB59CF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #262E56

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

Preview Lab → · Contrast checker → · Palette generator →

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