#262E53#262E53

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

Color values

HEX#262E53
RGBrgb(38, 46, 83)
HSLhsl(229, 37%, 24%)
HSVhsv(229, 54%, 33%)
CMYKcmyk(54.2%, 44.6%, 0%, 67.5%)
CIE-LABlab(20.01, 8.53, -23.68)
CIE-LCHlch(20.01, 25.17, 289.81°)
OKLaboklab(31.35% 0.0032 -0.067)
OKLCHoklch(31.35% 0.067 272.8)
XYZxyz(3.3372, 2.9904, 8.5833)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E53 #534B26
analogous
#264453 #262E53 #342653
triadic
#262E53 #53262E #2E5326
tetradic
#262E53 #532644 #534B26 #265334
square
#262E53 #532644 #534B26 #265334
split-complementary
#262E53 #533426 #445326
monochromatic
#0A0C15 #131729 #262E53 #39457D #4C5DA7

Accessibility & contrast

On white

13.14
#262E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262E53
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E53#FFFFFF#000000##FFFFFF
##262E531.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3254
Deuteranopia (green-blind)
#1B2F52
Tritanopia (blue-blind)
#14363C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262e53;
/* rgb */ color: rgb(38, 46, 83);
/* oklch */ color: oklch(31.4% 0.067 272.8);
Tailwind
colors: {
  custom: {
    50: '#646683',
    500: '#262e53',
    950: '#000000',
  },
}
SCSS
$custom: #262e53;
$custom-light: #646683;
$custom-dark: #000000;
JSON
{
  "hex": "#262e53",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 229.333,
    "s": 37.19,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31352,
    "c": 0.0671,
    "h": 272.8
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#262E53
secondary
#867C4F
accent
#B95BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #262E53

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

Preview Lab → · Contrast checker → · Palette generator →

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