#261895#261895

#261895 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.9% C 0.187 H 274.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#261895
RGBrgb(38, 24, 149)
HSLhsl(247, 72%, 34%)
HSVhsv(247, 84%, 58%)
CMYKcmyk(74.5%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.96, 45.67, -64.52)
CIE-LCHlch(20.96, 79.05, 305.29°)
OKLaboklab(33.9% 0.0156 -0.1865)
OKLCHoklch(33.9% 0.187 274.8)
XYZxyz(6.5490, 3.2346, 28.7071)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261895 #879518
analogous
#184995 #261895 #651895
triadic
#261895 #952618 #189526
tetradic
#261895 #951849 #879518 #189565
square
#261895 #951849 #879518 #189565
split-complementary
#261895 #956518 #499518
monochromatic
#0B072C #191060 #261895 #3320CA #5846E1

Accessibility & contrast

On white

12.75
#261895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#261895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261895
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261895#FFFFFF#000000##FFFFFF
##2618951.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261895;
/* rgb */ color: rgb(38, 24, 149);
/* oklch */ color: oklch(33.9% 0.187 274.8);
Tailwind
colors: {
  custom: {
    50: '#745ab5',
    500: '#261895',
    950: '#000000',
  },
}
SCSS
$custom: #261895;
$custom-light: #745ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#261895",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 246.72,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33899,
    "c": 0.1872,
    "h": 274.8
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#261895
secondary
#B5C246
accent
#EF39DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261895

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

Preview Lab → · Contrast checker → · Palette generator →

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