#262170#262170

#262170 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.131 H 278.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#262170
RGBrgb(38, 33, 112)
HSLhsl(244, 54%, 28%)
HSVhsv(244, 71%, 44%)
CMYKcmyk(66.1%, 70.5%, 0%, 56.1%)
CIE-LABlab(18.67, 28.27, -44.92)
CIE-LCHlch(18.67, 53.08, 302.19°)
OKLaboklab(31.08% 0.0191 -0.1295)
OKLCHoklch(31.08% 0.131 278.4)
XYZxyz(4.2669, 2.6693, 15.6165)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262170 #6B7021
analogous
#214370 #262170 #4D2170
triadic
#262170 #702621 #217026
tetradic
#262170 #702143 #6B7021 #21704D
square
#262170 #702143 #6B7021 #21704D
split-complementary
#262170 #704D21 #437021
monochromatic
#080718 #161341 #262170 #362F9F #4C44C8

Accessibility & contrast

On white

13.69
#262170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#262170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262170
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262170#FFFFFF#000000##FFFFFF
##2621701.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262170;
/* rgb */ color: rgb(38, 33, 112);
/* oklch */ color: oklch(31.1% 0.131 278.4);
Tailwind
colors: {
  custom: {
    50: '#6a5d9a',
    500: '#262170',
    950: '#000000',
  },
}
SCSS
$custom: #262170;
$custom-light: #6a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#262170",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 243.797,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.13092,
    "h": 278.4
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#262170
secondary
#9EA449
accent
#DE4AD4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #262170

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

Preview Lab → · Contrast checker → · Palette generator →

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