#263A7F#263A7F

#263A7F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.119 H 268.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#263A7F
RGBrgb(38, 58, 127)
HSLhsl(227, 54%, 32%)
HSVhsv(227, 70%, 50%)
CMYKcmyk(70.1%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.65, 16.81, -41.49)
CIE-LCHlch(26.65, 44.76, 292.06°)
OKLaboklab(37.39% -0.0041 -0.1192)
OKLCHoklch(37.39% 0.119 268)
XYZxyz(6.1418, 4.9699, 20.7102)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A7F #7F6B26
analogous
#26667F #263A7F #3F267F
triadic
#263A7F #7F263A #3A7F26
tetradic
#263A7F #7F2666 #7F6B26 #267F3F
square
#263A7F #7F2666 #7F6B26 #267F3F
split-complementary
#263A7F #7F3F26 #667F26
monochromatic
#0A0F21 #182450 #263A7F #3450AE #546FCC

Accessibility & contrast

On white

10.53
#263A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263A7F
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A7F#FFFFFF#000000##FFFFFF
##263A7F1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263a7f;
/* rgb */ color: rgb(38, 58, 127);
/* oklch */ color: oklch(37.4% 0.119 268.0);
Tailwind
colors: {
  custom: {
    50: '#6c6fa5',
    500: '#263a7f',
    950: '#000000',
  },
}
SCSS
$custom: #263a7f;
$custom-light: #6c6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#263a7f",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 226.517,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.11926,
    "h": 268
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#263A7F
secondary
#B09B51
accent
#BC4ADD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #263A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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