#262A64#262A64

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

Color values

HEX#262A64
RGBrgb(38, 42, 100)
HSLhsl(236, 45%, 27%)
HSVhsv(236, 62%, 39%)
CMYKcmyk(62%, 58%, 0%, 60.8%)
CIE-LABlab(20.00, 17.70, -34.95)
CIE-LCHlch(20.00, 39.17, 296.86°)
OKLaboklab(31.73% 0.0106 -0.1002)
OKLCHoklch(31.73% 0.101 276.1)
XYZxyz(3.9268, 2.9878, 12.4239)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A64 #646026
analogous
#264964 #262A64 #412664
triadic
#262A64 #64262A #2A6426
tetradic
#262A64 #642649 #646026 #266441
square
#262A64 #642649 #646026 #266441
split-complementary
#262A64 #644126 #496426
monochromatic
#080916 #151738 #262A64 #373D90 #4A51BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262A64#FFFFFF#000000##FFFFFF
##262A641.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)
#043366
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262a64;
/* rgb */ color: rgb(38, 42, 100);
/* oklch */ color: oklch(31.7% 0.101 276.1);
Tailwind
colors: {
  custom: {
    50: '#676391',
    500: '#262a64',
    950: '#000000',
  },
}
SCSS
$custom: #262a64;
$custom-light: #676391;
$custom-dark: #000000;
JSON
{
  "hex": "#262a64",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 236.129,
    "s": 44.928,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31727,
    "c": 0.10072,
    "h": 276.1
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#262A64
secondary
#97924F
accent
#CC53D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050D
muted
#7A797D

Preview Lab

Preview with #262A64

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

Preview Lab → · Contrast checker → · Palette generator →

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