#262B70#262B70

#262B70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.0% C 0.118 H 274.8°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#262B70
RGBrgb(38, 43, 112)
HSLhsl(236, 49%, 29%)
HSVhsv(236, 66%, 44%)
CMYKcmyk(66.1%, 61.6%, 0%, 56.1%)
CIE-LABlab(21.24, 21.51, -40.72)
CIE-LCHlch(21.24, 46.05, 297.85°)
OKLaboklab(32.96% 0.0098 -0.1171)
OKLCHoklch(32.96% 0.118 274.8)
XYZxyz(4.5869, 3.3093, 15.7231)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B70 #706B26
analogous
#265070 #262B70 #462670
triadic
#262B70 #70262B #2B7026
tetradic
#262B70 #702650 #706B26 #267046
square
#262B70 #702650 #706B26 #267046
split-complementary
#262B70 #704626 #507026
monochromatic
#080917 #161942 #262B70 #363D9E #4E56C3

Accessibility & contrast

On white

12.64
#262B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#262B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B70
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B70#FFFFFF#000000##FFFFFF
##262B701.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262b70;
/* rgb */ color: rgb(38, 43, 112);
/* oklch */ color: oklch(33.0% 0.118 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a649a',
    500: '#262b70',
    950: '#000000',
  },
}
SCSS
$custom: #262b70;
$custom-light: #6a649a;
$custom-dark: #000000;
JSON
{
  "hex": "#262b70",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 235.946,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32961,
    "c": 0.11753,
    "h": 274.8
  },
  "luminance": 0.0331
}

Semantic roles & 50–950 ramp

primary
#262B70
secondary
#A39D4F
accent
#D04FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #262B70

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

Preview Lab → · Contrast checker → · Palette generator →

#262B70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva