#261870#261870

#261870 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.141 H 280.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#261870
RGBrgb(38, 24, 112)
HSLhsl(250, 65%, 27%)
HSVhsv(250, 79%, 44%)
CMYKcmyk(66.1%, 78.6%, 0%, 56.1%)
CIE-LABlab(16.67, 33.80, -48.19)
CIE-LCHlch(16.67, 58.86, 305.04°)
OKLaboklab(29.65% 0.0261 -0.1391)
OKLCHoklch(29.65% 0.141 280.6)
XYZxyz(4.0497, 2.2349, 15.5441)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261870 #627018
analogous
#183670 #261870 #521870
triadic
#261870 #702618 #187026
tetradic
#261870 #701836 #627018 #187052
square
#261870 #701836 #627018 #187052
split-complementary
#261870 #705218 #367018
monochromatic
#090519 #150D3E #261870 #3723A2 #4A30D3

Accessibility & contrast

On white

14.51
#261870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#261870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261870
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261870#FFFFFF#000000##FFFFFF
##2618701.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261870;
/* rgb */ color: rgb(38, 24, 112);
/* oklch */ color: oklch(29.7% 0.141 280.6);
Tailwind
colors: {
  custom: {
    50: '#6b579a',
    500: '#261870',
    950: '#000000',
  },
}
SCSS
$custom: #261870;
$custom-light: #6b579a;
$custom-dark: #000000;
JSON
{
  "hex": "#261870",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 249.545,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.14149,
    "h": 280.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#261870
secondary
#95A53E
accent
#E840CD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #261870

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

Preview Lab → · Contrast checker → · Palette generator →

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