#0F2E54#0F2E54

#0F2E54 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.078 H 255.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#0F2E54
RGBrgb(15, 46, 84)
HSLhsl(213, 70%, 19%)
HSVhsv(213, 82%, 33%)
CMYKcmyk(82.1%, 45.2%, 0%, 67.1%)
CIE-LABlab(18.78, 4.02, -26.37)
CIE-LCHlch(18.78, 26.68, 278.67°)
OKLaboklab(30.08% -0.0198 -0.0754)
OKLCHoklch(30.08% 0.078 255.3)
XYZxyz(2.7736, 2.6953, 8.7599)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E54 #54350F
analogous
#0F5154 #0F2E54 #120F54
triadic
#0F2E54 #540F2E #2E540F
tetradic
#0F2E54 #540F51 #54350F #0F5412
square
#0F2E54 #540F51 #54350F #0F5412
split-complementary
#0F2E54 #54120F #51540F
monochromatic
#050E1A #061220 #0F2E54 #184A88 #2267BC

Accessibility & contrast

On white

13.64
#0F2E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E54
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E54#FFFFFF#000000##FFFFFF
##0F2E541.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3155
Deuteranopia (green-blind)
#102B53
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2e54;
/* rgb */ color: rgb(15, 46, 84);
/* oklch */ color: oklch(30.1% 0.078 255.3);
Tailwind
colors: {
  custom: {
    50: '#596684',
    500: '#0f2e54',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e54;
$custom-light: #596684;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e54",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 213.043,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30079,
    "c": 0.07795,
    "h": 255.3
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#0F2E54
secondary
#8E6431
accent
#9D3BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2E54

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

Preview Lab → · Contrast checker → · Palette generator →

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