#1B2F6A#1B2F6A

#1B2F6A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.106 H 266.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1B2F6A
RGBrgb(27, 47, 106)
HSLhsl(225, 59%, 26%)
HSVhsv(225, 75%, 42%)
CMYKcmyk(74.5%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.23, 14.44, -36.89)
CIE-LCHlch(21.23, 39.61, 291.37°)
OKLaboklab(32.62% -0.0067 -0.1061)
OKLCHoklch(32.62% 0.106 266.4)
XYZxyz(4.0691, 3.3062, 14.0566)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2F6A #6A561B
analogous
#1B566A #1B2F6A #2E1B6A
triadic
#1B2F6A #6A1B2F #2F6A1B
tetradic
#1B2F6A #6A1B56 #6A561B #1B6A2E
square
#1B2F6A #6A1B56 #6A561B #1B6A2E
split-complementary
#1B2F6A #6A2E1B #566A1B
monochromatic
#060B18 #0F1939 #1B2F6A #27459B #345ACB

Accessibility & contrast

On white

12.64
#1B2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1B2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2F6A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2F6A#FFFFFF#000000##FFFFFF
##1B2F6A1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1b2f6a;
/* rgb */ color: rgb(27, 47, 106);
/* oklch */ color: oklch(32.6% 0.106 266.4);
Tailwind
colors: {
  custom: {
    50: '#636795',
    500: '#1b2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #1b2f6a;
$custom-light: #636795;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2f6a",
  "rgb": {
    "r": 27,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 224.81,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3262,
    "c": 0.1063,
    "h": 266.4
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#1B2F6A
secondary
#9F8742
accent
#BB45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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