#262E6B#262E6B

#262E6B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.106 H 273.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#262E6B
RGBrgb(38, 46, 107)
HSLhsl(233, 48%, 28%)
HSVhsv(233, 64%, 42%)
CMYKcmyk(64.5%, 57%, 0%, 58%)
CIE-LABlab(21.68, 17.52, -36.78)
CIE-LCHlch(21.68, 40.74, 295.47°)
OKLaboklab(33.16% 0.0066 -0.1055)
OKLCHoklch(33.16% 0.106 273.6)
XYZxyz(4.4293, 3.4272, 14.3352)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E6B #6B6326
analogous
#26506B #262E6B #40266B
triadic
#262E6B #6B262E #2E6B26
tetradic
#262E6B #6B2650 #6B6326 #266B40
square
#262E6B #6B2650 #6B6326 #266B40
split-complementary
#262E6B #6B4026 #506B26
monochromatic
#080A17 #161B3E #262E6B #364198 #4C59BF

Accessibility & contrast

On white

12.46
#262E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#262E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E6B
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E6B#FFFFFF#000000##FFFFFF
##262E6B1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262e6b;
/* rgb */ color: rgb(38, 46, 107);
/* oklch */ color: oklch(33.2% 0.106 273.6);
Tailwind
colors: {
  custom: {
    50: '#686696',
    500: '#262e6b',
    950: '#000000',
  },
}
SCSS
$custom: #262e6b;
$custom-light: #686696;
$custom-dark: #000000;
JSON
{
  "hex": "#262e6b",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 233.043,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.10571,
    "h": 273.6
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#262E6B
secondary
#9E954F
accent
#C851D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #262E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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