#261898#261898

#261898 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.3% C 0.191 H 274.4°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#261898
RGBrgb(38, 24, 152)
HSLhsl(247, 73%, 35%)
HSVhsv(247, 84%, 60%)
CMYKcmyk(75%, 84.2%, 0%, 40.4%)
CIE-LABlab(21.33, 46.60, -65.77)
CIE-LCHlch(21.33, 80.60, 305.32°)
OKLaboklab(34.26% 0.0147 -0.1902)
OKLCHoklch(34.26% 0.191 274.4)
XYZxyz(6.7916, 3.3316, 29.9848)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261898 #8A9818
analogous
#184A98 #261898 #661898
triadic
#261898 #982618 #189826
tetradic
#261898 #98184A #8A9818 #189866
square
#261898 #98184A #8A9818 #189866
split-complementary
#261898 #986618 #4A9818
monochromatic
#0C072E #191063 #261898 #3320CD #5948E2

Accessibility & contrast

On white

12.60
#261898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#261898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261898
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261898#FFFFFF#000000##FFFFFF
##2618981.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002D96
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261898;
/* rgb */ color: rgb(38, 24, 152);
/* oklch */ color: oklch(34.3% 0.191 274.4);
Tailwind
colors: {
  custom: {
    50: '#755ab8',
    500: '#261898',
    950: '#000000',
  },
}
SCSS
$custom: #261898;
$custom-light: #755ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#261898",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 152
  },
  "hsl": {
    "h": 246.563,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34257,
    "c": 0.19072,
    "h": 274.4
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#261898
secondary
#B6C448
accent
#EF38DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261898

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

Preview Lab → · Contrast checker → · Palette generator →

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