#262E6C#262E6C

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

Color values

HEX#262E6C
RGBrgb(38, 46, 108)
HSLhsl(233, 48%, 29%)
HSVhsv(233, 65%, 42%)
CMYKcmyk(64.8%, 57.4%, 0%, 57.6%)
CIE-LABlab(21.76, 17.90, -37.30)
CIE-LCHlch(21.76, 41.37, 295.63°)
OKLaboklab(33.24% 0.0066 -0.107)
OKLCHoklch(33.24% 0.107 273.5)
XYZxyz(4.4822, 3.4484, 14.6139)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E6C #6C6426
analogous
#26516C #262E6C #41266C
triadic
#262E6C #6C262E #2E6C26
tetradic
#262E6C #6C2651 #6C6426 #266C41
square
#262E6C #6C2651 #6C6426 #266C41
split-complementary
#262E6C #6C4126 #516C26
monochromatic
#080A17 #161B3F #262E6C #364199 #4C5AC0

Accessibility & contrast

On white

12.43
#262E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E6C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E6C#FFFFFF#000000##FFFFFF
##262E6C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262e6c;
/* rgb */ color: rgb(38, 46, 108);
/* oklch */ color: oklch(33.2% 0.107 273.5);
Tailwind
colors: {
  custom: {
    50: '#686697',
    500: '#262e6c',
    950: '#000000',
  },
}
SCSS
$custom: #262e6c;
$custom-light: #686697;
$custom-dark: #000000;
JSON
{
  "hex": "#262e6c",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 233.143,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33243,
    "c": 0.10724,
    "h": 273.5
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#262E6C
secondary
#9F964F
accent
#C850D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #262E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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