#262E6F#262E6F

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

Color values

HEX#262E6F
RGBrgb(38, 46, 111)
HSLhsl(233, 49%, 29%)
HSVhsv(233, 66%, 44%)
CMYKcmyk(65.8%, 58.6%, 0%, 56.5%)
CIE-LABlab(21.99, 19.04, -38.85)
CIE-LCHlch(21.99, 43.27, 296.10°)
OKLaboklab(33.49% 0.0068 -0.1116)
OKLCHoklch(33.49% 0.112 273.5)
XYZxyz(4.6446, 3.5134, 15.4692)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E6F #6F6726
analogous
#26536F #262E6F #43266F
triadic
#262E6F #6F262E #2E6F26
tetradic
#262E6F #6F2653 #6F6726 #266F43
square
#262E6F #6F2653 #6F6726 #266F43
split-complementary
#262E6F #6F4326 #536F26
monochromatic
#080917 #161B41 #262E6F #36419D #4D5AC2

Accessibility & contrast

On white

12.33
#262E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E6F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E6F#FFFFFF#000000##FFFFFF
##262E6F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262e6f;
/* rgb */ color: rgb(38, 46, 111);
/* oklch */ color: oklch(33.5% 0.112 273.5);
Tailwind
colors: {
  custom: {
    50: '#696699',
    500: '#262e6f',
    950: '#000000',
  },
}
SCSS
$custom: #262e6f;
$custom-light: #696699;
$custom-dark: #000000;
JSON
{
  "hex": "#262e6f",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 233.425,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.11182,
    "h": 273.5
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#262E6F
secondary
#A2994F
accent
#C94FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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