#0F2C6A#0F2C6A

#0F2C6A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.114 H 262.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#0F2C6A
RGBrgb(15, 44, 106)
HSLhsl(221, 75%, 24%)
HSVhsv(221, 86%, 42%)
CMYKcmyk(85.8%, 58.5%, 0%, 58.4%)
CIE-LABlab(19.81, 15.06, -39.21)
CIE-LCHlch(19.81, 42.00, 291.01°)
OKLaboklab(31.41% -0.0143 -0.1132)
OKLCHoklch(31.41% 0.114 262.8)
XYZxyz(3.6983, 2.9431, 14.0060)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C6A #6A4D0F
analogous
#0F596A #0F2C6A #1F0F6A
triadic
#0F2C6A #6A0F2C #2C6A0F
tetradic
#0F2C6A #6A0F59 #6A4D0F #0F6A1F
square
#0F2C6A #6A0F59 #6A4D0F #0F6A1F
split-complementary
#0F2C6A #6A1F0F #596A0F
monochromatic
#040B1B #071634 #0F2C6A #1742A0 #1E59D5

Accessibility & contrast

On white

13.22
#0F2C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C6A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C6A#FFFFFF#000000##FFFFFF
##0F2C6A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2c6a;
/* rgb */ color: rgb(15, 44, 106);
/* oklch */ color: oklch(31.4% 0.114 262.8);
Tailwind
colors: {
  custom: {
    50: '#5f6495',
    500: '#0f2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c6a;
$custom-light: #5f6495;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c6a",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 220.879,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.11411,
    "h": 262.8
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#0F2C6A
secondary
#A27F32
accent
#B636F2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#05050D
muted
#7A797E

Preview Lab

Preview with #0F2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

#0F2C6A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva