#261874#261874

#261874 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.147 H 279.8°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#261874
RGBrgb(38, 24, 116)
HSLhsl(249, 66%, 27%)
HSVhsv(249, 79%, 45%)
CMYKcmyk(67.2%, 79.3%, 0%, 54.5%)
CIE-LABlab(17.11, 35.12, -50.06)
CIE-LCHlch(17.11, 61.15, 305.05°)
OKLaboklab(30.09% 0.025 -0.1445)
OKLCHoklch(30.09% 0.147 279.8)
XYZxyz(4.2773, 2.3260, 16.7432)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261874 #667418
analogous
#183874 #261874 #541874
triadic
#261874 #742618 #187426
tetradic
#261874 #741838 #667418 #187454
square
#261874 #741838 #667418 #187454
split-complementary
#261874 #745418 #387418
monochromatic
#080519 #150E41 #261874 #3722A7 #4B32D5

Accessibility & contrast

On white

14.33
#261874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#261874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261874
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261874#FFFFFF#000000##FFFFFF
##2618741.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261874;
/* rgb */ color: rgb(38, 24, 116);
/* oklch */ color: oklch(30.1% 0.147 279.8);
Tailwind
colors: {
  custom: {
    50: '#6c579d',
    500: '#261874',
    950: '#000000',
  },
}
SCSS
$custom: #261874;
$custom-light: #6c579d;
$custom-dark: #000000;
JSON
{
  "hex": "#261874",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 249.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30093,
    "c": 0.14665,
    "h": 279.8
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#261874
secondary
#99A93F
accent
#E93FCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261874

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

Preview Lab → · Contrast checker → · Palette generator →

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