#0F275E#0F275E

#0F275E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.103 H 263.5°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0F275E
RGBrgb(15, 39, 94)
HSLhsl(222, 72%, 21%)
HSVhsv(222, 84%, 37%)
CMYKcmyk(84%, 58.5%, 0%, 63.1%)
CIE-LABlab(17.28, 13.57, -35.46)
CIE-LCHlch(17.28, 37.97, 290.94°)
OKLaboklab(29.17% -0.0116 -0.1023)
OKLCHoklch(29.17% 0.103 263.5)
XYZxyz(2.9422, 2.3604, 10.8880)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F275E #5E460F
analogous
#0F4F5E #0F275E #1F0F5E
triadic
#0F275E #5E0F27 #275E0F
tetradic
#0F275E #5E0F4F #5E460F #0F5E1F
square
#0F275E #5E0F4F #5E460F #0F5E1F
split-complementary
#0F275E #5E1F0F #4F5E0F
monochromatic
#040B1A #071129 #0F275E #173D93 #2053C8

Accessibility & contrast

On white

14.26
#0F275E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F275E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F275E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F275E#FFFFFF#000000##FFFFFF
##0F275E1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f275e;
/* rgb */ color: rgb(15, 39, 94);
/* oklch */ color: oklch(29.2% 0.103 263.5);
Tailwind
colors: {
  custom: {
    50: '#5c608c',
    500: '#0f275e',
    950: '#000000',
  },
}
SCSS
$custom: #0f275e;
$custom-light: #5c608c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f275e",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 221.772,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29167,
    "c": 0.10294,
    "h": 263.5
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#0F275E
secondary
#977831
accent
#B839EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F275E

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

Preview Lab → · Contrast checker → · Palette generator →

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