#0F2964#0F2964

#0F2964 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.109 H 263.4°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#0F2964
RGBrgb(15, 41, 100)
HSLhsl(222, 74%, 23%)
HSVhsv(222, 85%, 39%)
CMYKcmyk(85%, 59%, 0%, 60.8%)
CIE-LABlab(18.40, 14.68, -37.60)
CIE-LCHlch(18.40, 40.36, 291.33°)
OKLaboklab(30.17% -0.0126 -0.1085)
OKLCHoklch(30.17% 0.109 263.4)
XYZxyz(3.2894, 2.6071, 12.3840)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2964 #644A0F
analogous
#0F5364 #0F2964 #1F0F64
triadic
#0F2964 #640F29 #29640F
tetradic
#0F2964 #640F53 #644A0F #0F641F
square
#0F2964 #640F53 #644A0F #0F641F
split-complementary
#0F2964 #641F0F #53640F
monochromatic
#040B1B #07132F #0F2964 #173F99 #1F55CE

Accessibility & contrast

On white

13.80
#0F2964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2964
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2964#FFFFFF#000000##FFFFFF
##0F29641.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2964;
/* rgb */ color: rgb(15, 41, 100);
/* oklch */ color: oklch(30.2% 0.109 263.4);
Tailwind
colors: {
  custom: {
    50: '#5e6291',
    500: '#0f2964',
    950: '#000000',
  },
}
SCSS
$custom: #0f2964;
$custom-light: #5e6291;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2964",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 221.647,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.10925,
    "h": 263.4
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#0F2964
secondary
#9D7C32
accent
#B837F1
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #0F2964

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

Preview Lab → · Contrast checker → · Palette generator →

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