#1B2F75#1B2F75

#1B2F75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.123 H 267.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#1B2F75
RGBrgb(27, 47, 117)
HSLhsl(227, 63%, 28%)
HSVhsv(227, 77%, 46%)
CMYKcmyk(76.9%, 59.8%, 0%, 54.1%)
CIE-LABlab(22.12, 18.91, -42.52)
CIE-LCHlch(22.12, 46.54, 293.98°)
OKLaboklab(33.57% -0.0059 -0.1226)
OKLCHoklch(33.57% 0.123 267.2)
XYZxyz(4.6783, 3.5499, 17.2648)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F75 #75611B
analogous
#1B5C75 #1B2F75 #341B75
triadic
#1B2F75 #751B2F #2F751B
tetradic
#1B2F75 #751B5C #75611B #1B7534
square
#1B2F75 #751B5C #75611B #1B7534
split-complementary
#1B2F75 #75341B #5C751B
monochromatic
#060A19 #101B43 #1B2F75 #2643A7 #395BD1

Accessibility & contrast

On white

12.28
#1B2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B2F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F75
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F75#FFFFFF#000000##FFFFFF
##1B2F751.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2f75;
/* rgb */ color: rgb(27, 47, 117);
/* oklch */ color: oklch(33.6% 0.123 267.2);
Tailwind
colors: {
  custom: {
    50: '#66679d',
    500: '#1b2f75',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f75;
$custom-light: #66679d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f75",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 226.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.12279,
    "h": 267.2
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#1B2F75
secondary
#A99342
accent
#C142E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B2F75

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

Preview Lab → · Contrast checker → · Palette generator →

#1B2F75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva