#262168#262168

#262168 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.3% C 0.120 H 279.7°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#262168
RGBrgb(38, 33, 104)
HSLhsl(244, 52%, 27%)
HSVhsv(244, 68%, 41%)
CMYKcmyk(63.5%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.91, 25.40, -40.95)
CIE-LCHlch(17.91, 48.18, 301.82°)
OKLaboklab(30.3% 0.0201 -0.1179)
OKLCHoklch(30.3% 0.12 279.7)
XYZxyz(3.8411, 2.4990, 13.3740)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262168 #636821
analogous
#214068 #262168 #4A2168
triadic
#262168 #682621 #216826
tetradic
#262168 #682140 #636821 #21684A
square
#262168 #682140 #636821 #21684A
split-complementary
#262168 #684A21 #406821
monochromatic
#080717 #15123A #262168 #373096 #4A41C3

Accessibility & contrast

On white

14.00
#262168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#262168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262168
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262168#FFFFFF#000000##FFFFFF
##2621681.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262168;
/* rgb */ color: rgb(38, 33, 104);
/* oklch */ color: oklch(30.3% 0.120 279.7);
Tailwind
colors: {
  custom: {
    50: '#695c94',
    500: '#262168',
    950: '#000000',
  },
}
SCSS
$custom: #262168;
$custom-light: #695c94;
$custom-dark: #000000;
JSON
{
  "hex": "#262168",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 244.225,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30297,
    "c": 0.11955,
    "h": 279.7
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#262168
secondary
#969C49
accent
#DB4DD1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #262168

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

Preview Lab → · Contrast checker → · Palette generator →

#262168 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva