#0F2C6E#0F2C6E

#0F2C6E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.120 H 263.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#0F2C6E
RGBrgb(15, 44, 110)
HSLhsl(222, 76%, 25%)
HSVhsv(222, 86%, 43%)
CMYKcmyk(86.4%, 60%, 0%, 56.9%)
CIE-LABlab(20.16, 16.77, -41.25)
CIE-LCHlch(20.16, 44.53, 292.13°)
OKLaboklab(31.77% -0.014 -0.1192)
OKLCHoklch(31.77% 0.12 263.3)
XYZxyz(3.9111, 3.0282, 15.1272)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C6E #6E510F
analogous
#0F5C6E #0F2C6E #210F6E
triadic
#0F2C6E #6E0F2C #2C6E0F
tetradic
#0F2C6E #6E0F5C #6E510F #0F6E21
square
#0F2C6E #6E0F5C #6E510F #0F6E21
split-complementary
#0F2C6E #6E210F #5C6E0F
monochromatic
#040B1B #081638 #0F2C6E #1642A4 #1E57DA

Accessibility & contrast

On white

13.08
#0F2C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F2C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C6E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C6E#FFFFFF#000000##FFFFFF
##0F2C6E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2c6e;
/* rgb */ color: rgb(15, 44, 110);
/* oklch */ color: oklch(31.8% 0.120 263.3);
Tailwind
colors: {
  custom: {
    50: '#606498',
    500: '#0f2c6e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c6e;
$custom-light: #606498;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c6e",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 221.684,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31771,
    "c": 0.12,
    "h": 263.3
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#0F2C6E
secondary
#A68333
accent
#B935F3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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