#0F2C67#0F2C67

#0F2C67 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.110 H 262.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#0F2C67
RGBrgb(15, 44, 103)
HSLhsl(220, 75%, 23%)
HSVhsv(220, 85%, 40%)
CMYKcmyk(85.4%, 57.3%, 0%, 59.6%)
CIE-LABlab(19.56, 13.76, -37.66)
CIE-LCHlch(19.56, 40.10, 290.07°)
OKLaboklab(31.14% -0.0146 -0.1086)
OKLCHoklch(31.14% 0.11 262.3)
XYZxyz(3.5450, 2.8818, 13.1987)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C67 #674A0F
analogous
#0F5867 #0F2C67 #1E0F67
triadic
#0F2C67 #670F2C #2C670F
tetradic
#0F2C67 #670F58 #674A0F #0F671E
square
#0F2C67 #670F58 #674A0F #0F671E
split-complementary
#0F2C67 #671E0F #58670F
monochromatic
#040B1B #071532 #0F2C67 #17439C #1F5AD2

Accessibility & contrast

On white

13.32
#0F2C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0F2C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C67
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C67#FFFFFF#000000##FFFFFF
##0F2C671.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2c67;
/* rgb */ color: rgb(15, 44, 103);
/* oklch */ color: oklch(31.1% 0.110 262.3);
Tailwind
colors: {
  custom: {
    50: '#5e6493',
    500: '#0f2c67',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c67;
$custom-light: #5e6493;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c67",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 220.227,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31137,
    "c": 0.10963,
    "h": 262.3
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#0F2C67
secondary
#A07C32
accent
#B437F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2C67

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

Preview Lab → · Contrast checker → · Palette generator →

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