#262E68#262E68

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

Color values

HEX#262E68
RGBrgb(38, 46, 104)
HSLhsl(233, 46%, 28%)
HSVhsv(233, 63%, 41%)
CMYKcmyk(63.5%, 55.8%, 0%, 59.2%)
CIE-LABlab(21.45, 16.38, -35.20)
CIE-LCHlch(21.45, 38.83, 294.95°)
OKLaboklab(32.92% 0.0064 -0.1009)
OKLCHoklch(32.92% 0.101 273.6)
XYZxyz(4.2742, 3.3652, 13.5183)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E68 #686026
analogous
#264F68 #262E68 #3F2668
triadic
#262E68 #68262E #2E6826
tetradic
#262E68 #68264F #686026 #26683F
square
#262E68 #68264F #686026 #26683F
split-complementary
#262E68 #683F26 #4F6826
monochromatic
#080A16 #161A3B #262E68 #364295 #4B59BD

Accessibility & contrast

On white

12.55
#262E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#262E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E68
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E68#FFFFFF#000000##FFFFFF
##262E681.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B366A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262e68;
/* rgb */ color: rgb(38, 46, 104);
/* oklch */ color: oklch(32.9% 0.101 273.6);
Tailwind
colors: {
  custom: {
    50: '#686694',
    500: '#262e68',
    950: '#000000',
  },
}
SCSS
$custom: #262e68;
$custom-light: #686694;
$custom-dark: #000000;
JSON
{
  "hex": "#262e68",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 232.727,
    "s": 46.479,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32916,
    "c": 0.10107,
    "h": 273.6
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#262E68
secondary
#9B924F
accent
#C652D6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #262E68

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

Preview Lab → · Contrast checker → · Palette generator →

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