#0F2765#0F2765

#0F2765 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.113 H 264.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#0F2765
RGBrgb(15, 39, 101)
HSLhsl(223, 74%, 23%)
HSVhsv(223, 85%, 40%)
CMYKcmyk(85.1%, 61.4%, 0%, 60.4%)
CIE-LABlab(17.88, 16.59, -39.09)
CIE-LCHlch(17.88, 42.47, 292.99°)
OKLaboklab(29.81% -0.0111 -0.1129)
OKLCHoklch(29.81% 0.113 264.4)
XYZxyz(3.2706, 2.4918, 12.6180)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2765 #654D0F
analogous
#0F5265 #0F2765 #220F65
triadic
#0F2765 #650F27 #27650F
tetradic
#0F2765 #650F52 #654D0F #0F6522
square
#0F2765 #650F52 #654D0F #0F6522
split-complementary
#0F2765 #65220F #52650F
monochromatic
#040A1B #071230 #0F2765 #173C9A #1F50D0

Accessibility & contrast

On white

14.01
#0F2765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2765
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2765#FFFFFF#000000##FFFFFF
##0F27651.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2765;
/* rgb */ color: rgb(15, 39, 101);
/* oklch */ color: oklch(29.8% 0.113 264.4);
Tailwind
colors: {
  custom: {
    50: '#5e6091',
    500: '#0f2765',
    950: '#000000',
  },
}
SCSS
$custom: #0f2765;
$custom-light: #5e6091;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2765",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 223.256,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29814,
    "c": 0.11349,
    "h": 264.4
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#0F2765
secondary
#9E8032
accent
#BD37F1
background
#F5F5F9
surface
#EAE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2765

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

Preview Lab → · Contrast checker → · Palette generator →

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