#0F2A67#0F2A67

#0F2A67 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.112 H 263.3°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#0F2A67
RGBrgb(15, 42, 103)
HSLhsl(222, 75%, 23%)
HSVhsv(222, 85%, 40%)
CMYKcmyk(85.4%, 59.2%, 0%, 59.6%)
CIE-LABlab(18.96, 15.24, -38.65)
CIE-LCHlch(18.96, 41.55, 291.51°)
OKLaboklab(30.68% -0.0131 -0.1116)
OKLCHoklch(30.68% 0.112 263.3)
XYZxyz(3.4723, 2.7363, 13.1745)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A67 #674C0F
analogous
#0F5667 #0F2A67 #200F67
triadic
#0F2A67 #670F2A #2A670F
tetradic
#0F2A67 #670F56 #674C0F #0F6720
square
#0F2A67 #670F56 #674C0F #0F6720
split-complementary
#0F2A67 #67200F #56670F
monochromatic
#040B1B #071432 #0F2A67 #17409C #1F56D2

Accessibility & contrast

On white

13.57
#0F2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A67
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A67#FFFFFF#000000##FFFFFF
##0F2A671.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2a67;
/* rgb */ color: rgb(15, 42, 103);
/* oklch */ color: oklch(30.7% 0.112 263.3);
Tailwind
colors: {
  custom: {
    50: '#5e6393',
    500: '#0f2a67',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a67;
$custom-light: #5e6393;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a67",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 221.591,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30677,
    "c": 0.11237,
    "h": 263.3
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#0F2A67
secondary
#A07E32
accent
#B837F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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