#0F2965#0F2965

#0F2965 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.111 H 263.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#0F2965
RGBrgb(15, 41, 101)
HSLhsl(222, 74%, 23%)
HSVhsv(222, 85%, 40%)
CMYKcmyk(85.1%, 59.4%, 0%, 60.4%)
CIE-LABlab(18.48, 15.11, -38.11)
CIE-LCHlch(18.48, 41.00, 291.63°)
OKLaboklab(30.27% -0.0125 -0.11)
OKLCHoklch(30.27% 0.111 263.5)
XYZxyz(3.3381, 2.6266, 12.6405)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2965 #654B0F
analogous
#0F5465 #0F2965 #200F65
triadic
#0F2965 #650F29 #29650F
tetradic
#0F2965 #650F54 #654B0F #0F6520
square
#0F2965 #650F54 #654B0F #0F6520
split-complementary
#0F2965 #65200F #54650F
monochromatic
#040B1B #071330 #0F2965 #173F9A #1F54D0

Accessibility & contrast

On white

13.77
#0F2965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2965
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2965#FFFFFF#000000##FFFFFF
##0F29651.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2965;
/* rgb */ color: rgb(15, 41, 101);
/* oklch */ color: oklch(30.3% 0.111 263.5);
Tailwind
colors: {
  custom: {
    50: '#5e6291',
    500: '#0f2965',
    950: '#000000',
  },
}
SCSS
$custom: #0f2965;
$custom-light: #5e6291;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2965",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 221.86,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30266,
    "c": 0.11075,
    "h": 263.5
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#0F2965
secondary
#9E7D32
accent
#B937F1
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #0F2965

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

Preview Lab → · Contrast checker → · Palette generator →

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