#262285#262285

#262285 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.158 H 275.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#262285
RGBrgb(38, 34, 133)
HSLhsl(242, 59%, 33%)
HSVhsv(242, 74%, 52%)
CMYKcmyk(71.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(21.02, 35.05, -54.45)
CIE-LCHlch(21.02, 64.76, 302.77°)
OKLaboklab(33.4% 0.0148 -0.1574)
OKLCHoklch(33.4% 0.158 275.4)
XYZxyz(5.6036, 3.2491, 22.5176)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262285 #818522
analogous
#225085 #262285 #572285
triadic
#262285 #852622 #228526
tetradic
#262285 #852250 #818522 #228557
square
#262285 #852250 #818522 #228557
split-complementary
#262285 #855722 #508522
monochromatic
#0A0924 #181654 #262285 #342EB6 #554FD2

Accessibility & contrast

On white

12.73
#262285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262285
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262285#FFFFFF#000000##FFFFFF
##2622851.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262285;
/* rgb */ color: rgb(38, 34, 133);
/* oklch */ color: oklch(33.4% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#6f5eaa',
    500: '#262285',
    950: '#000000',
  },
}
SCSS
$custom: #262285;
$custom-light: #6f5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#262285",
  "rgb": {
    "r": 38,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 242.424,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33404,
    "c": 0.1581,
    "h": 275.4
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#262285
secondary
#B1B64D
accent
#E245DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #262285

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

Preview Lab → · Contrast checker → · Palette generator →

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