#262E63#262E63

#262E63 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.093 H 273.6°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#262E63
RGBrgb(38, 46, 99)
HSLhsl(232, 45%, 27%)
HSVhsv(232, 62%, 39%)
CMYKcmyk(61.6%, 53.5%, 0%, 61.2%)
CIE-LABlab(21.08, 14.48, -32.54)
CIE-LCHlch(21.08, 35.62, 294.00°)
OKLaboklab(32.52% 0.0059 -0.093)
OKLCHoklch(32.52% 0.093 273.6)
XYZxyz(4.0277, 3.2666, 12.2202)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E63 #635B26
analogous
#264D63 #262E63 #3D2663
triadic
#262E63 #63262E #2E6326
tetradic
#262E63 #63264D #635B26 #26633D
square
#262E63 #63264D #635B26 #26633D
split-complementary
#262E63 #633D26 #4D6326
monochromatic
#080A16 #151937 #262E63 #37438F #4A59B9

Accessibility & contrast

On white

12.70
#262E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E63
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E63#FFFFFF#000000##FFFFFF
##262E631.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123565
Deuteranopia (green-blind)
#073062
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #262e63;
/* rgb */ color: rgb(38, 46, 99);
/* oklch */ color: oklch(32.5% 0.093 273.6);
Tailwind
colors: {
  custom: {
    50: '#676690',
    500: '#262e63',
    950: '#000000',
  },
}
SCSS
$custom: #262e63;
$custom-light: #676690;
$custom-dark: #000000;
JSON
{
  "hex": "#262e63",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 232.131,
    "s": 44.526,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32519,
    "c": 0.09322,
    "h": 273.6
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#262E63
secondary
#968D4F
accent
#C354D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262E63

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

Preview Lab → · Contrast checker → · Palette generator →

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