#262A63#262A63

#262A63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.099 H 276.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#262A63
RGBrgb(38, 42, 99)
HSLhsl(236, 45%, 27%)
HSVhsv(236, 62%, 39%)
CMYKcmyk(61.6%, 57.6%, 0%, 61.2%)
CIE-LABlab(19.92, 17.32, -34.41)
CIE-LCHlch(19.92, 38.53, 296.72°)
OKLaboklab(31.64% 0.0106 -0.0986)
OKLCHoklch(31.64% 0.099 276.1)
XYZxyz(3.8787, 2.9686, 12.1706)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A63 #635F26
analogous
#264963 #262A63 #412663
triadic
#262A63 #63262A #2A6326
tetradic
#262A63 #632649 #635F26 #266341
square
#262A63 #632649 #635F26 #266341
split-complementary
#262A63 #634126 #496326
monochromatic
#080916 #151737 #262A63 #373D8F #4A51B9

Accessibility & contrast

On white

13.18
#262A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#262A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A63
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A63#FFFFFF#000000##FFFFFF
##262A631.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063365
Deuteranopia (green-blind)
#002E62
Tritanopia (blue-blind)
#013742
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #262a63;
/* rgb */ color: rgb(38, 42, 99);
/* oklch */ color: oklch(31.6% 0.099 276.1);
Tailwind
colors: {
  custom: {
    50: '#676390',
    500: '#262a63',
    950: '#000000',
  },
}
SCSS
$custom: #262a63;
$custom-light: #676390;
$custom-dark: #000000;
JSON
{
  "hex": "#262a63",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 236.066,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31644,
    "c": 0.09917,
    "h": 276.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#262A63
secondary
#96914F
accent
#CC54D4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #262A63

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

Preview Lab → · Contrast checker → · Palette generator →

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