#262E54#262E54

#262E54 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.069 H 272.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#262E54
RGBrgb(38, 46, 84)
HSLhsl(230, 38%, 24%)
HSVhsv(230, 55%, 33%)
CMYKcmyk(54.8%, 45.2%, 0%, 67.1%)
CIE-LABlab(20.07, 8.89, -24.25)
CIE-LCHlch(20.07, 25.83, 290.15°)
OKLaboklab(31.42% 0.0035 -0.0687)
OKLCHoklch(31.42% 0.069 272.9)
XYZxyz(3.3760, 3.0059, 8.7881)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E54 #544C26
analogous
#264554 #262E54 #352654
triadic
#262E54 #54262E #2E5426
tetradic
#262E54 #542645 #544C26 #265435
square
#262E54 #542645 #544C26 #265435
split-complementary
#262E54 #543526 #455426
monochromatic
#0A0C15 #13172A #262E54 #39457E #4C5CA8

Accessibility & contrast

On white

13.12
#262E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#262E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E54
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E54#FFFFFF#000000##FFFFFF
##262E541.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3355
Deuteranopia (green-blind)
#1A2F53
Tritanopia (blue-blind)
#13363D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262e54;
/* rgb */ color: rgb(38, 46, 84);
/* oklch */ color: oklch(31.4% 0.069 272.9);
Tailwind
colors: {
  custom: {
    50: '#646684',
    500: '#262e54',
    950: '#000000',
  },
}
SCSS
$custom: #262e54;
$custom-light: #646684;
$custom-dark: #000000;
JSON
{
  "hex": "#262e54",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 229.565,
    "s": 37.705,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.06878,
    "h": 272.9
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#262E54
secondary
#877D4F
accent
#BA5ACE
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #262E54

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

Preview Lab → · Contrast checker → · Palette generator →

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