#263A7E#263A7E

#263A7E is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.3% C 0.118 H 267.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#263A7E
RGBrgb(38, 58, 126)
HSLhsl(226, 54%, 32%)
HSVhsv(226, 70%, 49%)
CMYKcmyk(69.8%, 54%, 0%, 50.6%)
CIE-LABlab(26.57, 16.42, -40.98)
CIE-LCHlch(26.57, 44.15, 291.84°)
OKLaboklab(37.31% -0.0042 -0.1177)
OKLCHoklch(37.31% 0.118 267.9)
XYZxyz(6.0770, 4.9440, 20.3686)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A7E #7E6A26
analogous
#26667E #263A7E #3E267E
triadic
#263A7E #7E263A #3A7E26
tetradic
#263A7E #7E2666 #7E6A26 #267E3E
square
#263A7E #7E2666 #7E6A26 #267E3E
split-complementary
#263A7E #7E3E26 #667E26
monochromatic
#0A0F20 #18244F #263A7E #3450AD #536ECB

Accessibility & contrast

On white

10.56
#263A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#263A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A7E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A7E#FFFFFF#000000##FFFFFF
##263A7E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #263a7e;
/* rgb */ color: rgb(38, 58, 126);
/* oklch */ color: oklch(37.3% 0.118 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c6fa4',
    500: '#263a7e',
    950: '#000000',
  },
}
SCSS
$custom: #263a7e;
$custom-light: #6c6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#263a7e",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 226.364,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37306,
    "c": 0.11778,
    "h": 267.9
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#263A7E
secondary
#B09A50
accent
#BC4BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #263A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#263A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva