#262175#262175

#262175 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.138 H 277.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#262175
RGBrgb(38, 33, 117)
HSLhsl(244, 56%, 29%)
HSVhsv(244, 72%, 46%)
CMYKcmyk(67.5%, 71.8%, 0%, 54.1%)
CIE-LABlab(19.16, 30.05, -47.34)
CIE-LCHlch(19.16, 56.07, 302.41°)
OKLaboklab(31.58% 0.0183 -0.1366)
OKLCHoklch(31.58% 0.138 277.6)
XYZxyz(4.5530, 2.7838, 17.1236)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262175 #707521
analogous
#214675 #262175 #502175
triadic
#262175 #752621 #217526
tetradic
#262175 #752146 #707521 #217550
square
#262175 #752146 #707521 #217550
split-complementary
#262175 #755021 #467521
monochromatic
#080718 #161445 #262175 #362EA5 #4E46CB

Accessibility & contrast

On white

13.49
#262175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#262175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262175
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262175#FFFFFF#000000##FFFFFF
##2621751.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262175;
/* rgb */ color: rgb(38, 33, 117);
/* oklch */ color: oklch(31.6% 0.138 277.6);
Tailwind
colors: {
  custom: {
    50: '#6c5d9e',
    500: '#262175',
    950: '#000000',
  },
}
SCSS
$custom: #262175;
$custom-light: #6c5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#262175",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 243.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31578,
    "c": 0.13783,
    "h": 277.6
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#262175
secondary
#A3A84A
accent
#DF49D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #262175

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

Preview Lab → · Contrast checker → · Palette generator →

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