#262E6E#262E6E

#262E6E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.110 H 273.5°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#262E6E
RGBrgb(38, 46, 110)
HSLhsl(233, 49%, 29%)
HSVhsv(233, 65%, 43%)
CMYKcmyk(65.5%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.91, 18.66, -38.34)
CIE-LCHlch(21.91, 42.64, 295.95°)
OKLaboklab(33.41% 0.0067 -0.1101)
OKLCHoklch(33.41% 0.11 273.5)
XYZxyz(4.5899, 3.4915, 15.1809)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E6E #6E6626
analogous
#26526E #262E6E #42266E
triadic
#262E6E #6E262E #2E6E26
tetradic
#262E6E #6E2652 #6E6626 #266E42
square
#262E6E #6E2652 #6E6626 #266E42
split-complementary
#262E6E #6E4226 #526E26
monochromatic
#080A17 #161B41 #262E6E #36419B #4D5AC1

Accessibility & contrast

On white

12.36
#262E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E6E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E6E#FFFFFF#000000##FFFFFF
##262E6E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262e6e;
/* rgb */ color: rgb(38, 46, 110);
/* oklch */ color: oklch(33.4% 0.110 273.5);
Tailwind
colors: {
  custom: {
    50: '#696698',
    500: '#262e6e',
    950: '#000000',
  },
}
SCSS
$custom: #262e6e;
$custom-light: #696698;
$custom-dark: #000000;
JSON
{
  "hex": "#262e6e",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 233.333,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.1103,
    "h": 273.5
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#262E6E
secondary
#A1984F
accent
#C950D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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